Home > All Other Interfaces > IPosition > AltitudeType

AltitudeType

An enum determining how the altitude is interpreted. The following are the possible AltitudeTypeCode values:

§   ATC_TERRAIN_RELATIVE = 0
Places the position’s pivot point at a specified altitude above the ground.

§   ATC_PIVOT_RELATIVE = 1
Places each point of the object at a specified altitude above the pivot point altitude, defined by its Point Altitude. The pivot is located at the center of the object.

§   ATC_ON_TERRAIN = 2
The altitude is ignored and the coordinate is on the terrain itself.

§   ATC_TERRAIN_ABSOLUTE = 3
Places the position’s pivot point at a specified altitude above the terrain database vertical datum base ellipsoid.

§   ATC_DEFAULT = 999

Note:    ATC_PIVOT_RELATIVE and ATC_ON_TERRAIN values apply only for 2D shapes and polygons.

 

JavaScript

 

AltitudeType

 

C#

 

AltitudeTypeCode AltitudeType { get; set; }

 

C++

 

HRESULT AltitudeType([out, retval] AltitudeTypeCode* pVal)

HRESULT AltitudeType([in] AltitudeTypeCode pVal)