ITerrainLocation5

Any object that can have a position on the terrain is derived from this interface. Using the SetPosition() and GetPosition() methods of this interface allows the user to control the location of the object 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). ITerrainLocation5 also defines the operation that takes place once the user clicks on the object in the Information Window. Although most of the objects (i.e. 3D polygon) are not directly derived from this interface, the location object (created via the IObjectManager51::CreateLocation()) is derived from it. In the case of the location object, no actual object is visible at the location’s point of interest (unless the client/user has placed a “real” object at that coordinate).

Hierarchy:

 

ITerraExplorerObject5

Properties:

ID, ObjectType, ClientData, KeepAliveOnRelease, ClientDataEx

Methods:

SetParam, GetParam

IInfoTreeItem5

Properties:

Description, ExistInBasicTree, InfoTreeItemID, GroupName, SaveInFlyFile

ISingleMessageObject5

Properties:

MessageID

ITerrainLocation5

Properties:

Distance, ActivationCode, ActivationParam

Methods:

SetPosition, GetPosition, GetPositionEx