ITerrainPolyline81

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 IAction81 representing the operation that takes place when the object is clicked in the Project Tree.

Attachment

An IAttachment81 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 IFillStyle81 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 ITerraExplorerObject81)

LineStyle

An ILineStyle81 representing the style of the polyline outline.

Message

An IMessageObject81 representing the message object assigned to the object.

ObjectType

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

Position

An IPosition81 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 ITerraExplorerObject81)

Spline

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

Terrain

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

Timespan

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

Tooltip

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

TreeItem

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

Visibility

An IVisibility81 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 ITerraExplorerObject81)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject81)

SetClientData

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject81)

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)