ITerrainPolyline80

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

Attachment

An IAttachment80 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 IFillStyle80 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 ITerraExplorerObject80)

LineStyle

An ILineStyle80 representing the style of the polyline outline.

Message

An IMessageObject80 representing the message object assigned to the object.

ObjectType

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

Position

An IPosition80 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 ITerraExplorerObject80)

Spline

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

Terrain

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

Timespan

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

Tooltip

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

TreeItem

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

Visibility

An IVisibility80 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 ITerraExplorerObject80)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)

SetClientData

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)

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)