IPosition80

This interface allows the user to control the position and orientation of an object or location on the terrain and the distance from which the object is viewed when flying to it or performing a flight pattern (e.g. circling) around it. .

 

 

Properties

 

Altitude

Gets and sets the altitude of the IPosition80 object.

AltitudeType

Gets and sets an enum determining how the altitude is interpreted.

Cartesian

Gets and sets a Boolean that determines whether calculations are based on a Cartesian coordinate system.

Distance

Gets and sets the distance from the camera to the position.

Pitch

Gets and sets the tilt angle of the camera or object.

Roll

Gets and sets the roll angle of the object.

X

Gets and sets the x-coordinate.

Y

Gets and sets the y-coordinate

Yaw

Gets and sets the direction angle of the camera or object.

 

Methods

 

AimTo

Returns an IPosition80 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 IPosition80 object.

DistanceTo

Measures the distance between two coordinates.

Init

Initializes a new instance of IPosition80.

InitFrom

Initializes an IPosition object based on a string of comma separated position values.

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.

MoveByOrientation

Moves a 3D-coordinate along it by a specified Forward-Backward, Right-Left and Up-Down offset.

MoveToward

Moves a coordinate the specified distance toward another coordinate.

ToAbsolute

Returns an IPosition80 object that is converted to absolute height.

ToRelative

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

ToString

Returns a string of comma separated position values.