Moves a coordinate the specified distance toward another coordinate.
JavaScript |
|
MoveToward( Position, Distance) |
C# |
|
IPosition65 MoveToward( IPosition65 Position, double Distance) |
C++ |
|
HRESULT MoveToward( IPosition65* Position, double Distance, IPosition65** pVal) |
Parameters
Position
An IPosition65 representing the coordinate to which the selected coordinate is being moved towards.
Distance
The distance to move
Return Value
pVal
An IPosition65 representing the new position after the move, defined by its coordinates in the 3D world.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.