ITerrain3DPolygon5

Objects derived from this interface implement 3D polygon, which, in the TerraExplorer world, is a 2D polygon that was expanded in the height dimension. For that reason, the creation and handling of 3D polygons is very similar to the creation and handling of 2D polygon objects with the exception of the 3D polygons having height properties, and their inability to have the HSC_ON_TERRAIN and HSC_TERRAIN_RELATIVE height style codes.

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

ITerrain3DPolygon5

Properties:

Height