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