Home > All Other Interfaces > IPosition

IPosition6

This interface allows the user to control the position and orientation of an object or location on the terrain. In addition, this interface defines a distance from which the object is viewed when flying to it (or circling it, for example).

 

 

Properties

 

Altitude

The altitude of the IPosition6 object.

AltitudeType

An enum determining how the altitude is interpreted.

Cartesian

A Boolean that determines whether calculations are based on a Cartesian coordinate system.

Distance

The distance from the camera to the position.

Pitch

The tilt angle of the camera or object.

Roll

The roll angle of the object.

X

The x-coordinate.

Y

The y-coordinate

Yaw

The direction angle of the camera or object.

 

Methods

 

AimTo

Returns an IPosition6 object with the same position and angle as the caller’s.

ChangeAltitudeType

Converts the altitude type of the caller to a new altitude type.

Copy

Returns a copy of the IPosition6 object.

DistanceTo

Measures the distance between two coordinates.

Init

Initializes a new instance of IPosition6.

InitFrom

 

IsEqual

Compares the property values of this position to another position.

Lerp

Moves a coordinate a given percentage toward another coordinate.

Move

Moves a coordinate a specific distance.

MoveToward

Moves a coordinate the specified distance toward another coordinate.

ToAbsolute

Returns an IPosition6 object that is converted to absolute height.

ToRelative

Returns an IPosition6 object that is converted to height relative to terrain.

ToString

Returns a string of comma separated position values.