ITerrainPolyline

A polyline object has an array of vertices that are drawn on the terrain. The only difference (as far as TerraExplorer is concerned) between a polyline and a polygon is the fact that a polygon is actually a polyline with its last vertex connected to its first vertex.

 

 

Properties

 

Action

An IAction representing the operation that takes place when the object is clicked in the Project Tree.

Attachment

An IAttachment representing the attachment behavior of the polyline.

ExtendToGround

Gets and sets a Boolean that determines whether the polyline is extended vertically to the ground to create a partition such as a fence.

FillStyle

An IFillStyle representing the fill color and texture of the partition created by extending the polyline to ground. Note that this property will only have effect if the ExtendToGround property is set to TRUE.

Geometry

An IGeometry representing geometric properties and behavior of the polyline.

ID

Gets the ID of the polyline. (Inherited from ITerraExplorerObject)

LineStyle

An ILineStyle representing the style of the polyline outline.

Message

An IMessageObject representing the message object assigned to the object.

ObjectType

Gets an enum that identifies the type of the object. (Inherited from ITerraExplorerObject)

Position

An IPosition representing the position and orientation of the polyline on the terrain.

SaveInFlyFile

Gets and sets a Boolean that determines whether the polyline is saved in the Fly file. (Inherited from ITerraExplorerObject)

Spline

Gets and sets a Boolean that determines whether the polyline is drawn as a curve based on its nodes.

Terrain

An ITerrainObject representing terrain properties including draw order and ground object status.

Timespan

An ITimeSpan representing the timespan in which the polyline is visible on the terrain.

Tooltip

An ITooltip representing the tooltip that displays when a mouse cursor is placed over the polyline in the 3D Window.

TreeItem

An ITreeItem describing the representation of the polyline in the Project Tree.

Visibility

An IVisibility representing the visibility of the polyline at different distances.

 

Methods

 

GetClientData

Gets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject)

SetClientData

Sets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject)

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject)

ExtendToGround

Gets and sets a Boolean that determines whether the polyline is extended vertically to the ground to create a partition (such as a fence) with the shape of the polyline.

JavaScript

 

 

 

ExtendToGround

 

C#

 

 

 

bool ExtendToGround { get; set; }

 

C++

 

 

 

 

HRESULT ExtendToGround([out, retval] VARIANT_BOOL* pVal)

HRESULT ExtendToGround([in] VARIANT_BOOL pVal)

Spline

Gets and sets a Boolean that determines whether the polyline is drawn as a curve based on its nodes.

 

JavaScript

 

 

 

Spline

 

C#

 

 

 

bool Spline { get; set; }

 

C++

 

 

 

 

HRESULT Spline([out, retval] VARIANT_BOOL* pVal)

HRESULT Spline([in] VARIANT_BOOL pVal)