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