ITerrainPolyline5

Polyline and polygon implementation objects are derived from this interface. A Polyline object has an array of vertices that are drawn on the terrain. The only difference (as far as TerraExplorer is concerned) between polyline and a polygon is the fact that a polygon is actually a polyline with its last vertex connected to its first vertex. This distinction is determined at a creation time by the IObjectManager51::CreatePolyline() and IObjectManager51::Create2DPolygon() methods, both of which return the ITerrainPolyline5 interface. At run time, the client can distinguish between them by checking the value of the ObjectType property.

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

ITerrainObject5

Properties:

Visible, ToolTipText, MaxVisibilityDistance, MinVisibilityDistance, IsAttached, AutoDetach, GroundObject

Methods:

AttachTo

ITerrainColoredObject5

Properties:

FgColor, FgAlpha, BgColor, BgAlpha

ITerrainPrimitive5

Properties:

HeightStyle, LineStyle, TextureFileName, TextureTilingMethod, TextureScaleX, TextureScaleY, TextureRotateAngle, LineWidth, LineBackColor, LineBackAlpha, DrawOrder

ITerrainPolyline5

Properties:

NumofVertices, Vertices

Methods:

AddVertex, GetVertex, ModifyVertex, DeleteVetrex