Moves a coordinate the specified distance toward another coordinate.
JavaScript |
|
MoveToward( Position, Distance) |
C# |
|
IPosition61 MoveToward( IPosition61 Position, double Distance) |
C++ |
|
|
Parameters
Position
An IPosition61 representing the coordinate to which the selected coordinate is being moved towards.
Distance
The distance to move
Return Value
pVal
An IPosition61 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.