ITerrainPolyline61

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.

 

 

Properties

 

Action

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

Attachment

An IAttachment61 representing the attachment behavior of the polyline.

ClientData

A text string assigned to each object global namespace. C# exposes this property as get_ClientData and set_ClientData. (Inherited from ITerraExplorerObject61)

ExtendToGround

Determines if the polyline is extended vertically to the ground to create a partition such as a fence.

FillStyle

An IFillStyle61 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

The ID of the polyline. (Inherited from ITerraExplorerObject61)

LineStyle

An ILineStyle61 representing the style of the polyline outline.

Message

An IMessageObject61 representing the message object triggered when the user double-clicks the polyline’s Project Tree entry.

ObjectType

An enum that identifies the type of the object. (Inherited from ITerraExplorerObject61)

Position

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

SaveInFlyFile

A Boolean that determines whether the polyline is saved in the Fly file. (Inherited from ITerraExplorerObject61)

Shadow

An IShadow61 representing the polyline’s shadow.

ExtendToGround

 

Determines if the polyline is extended vertically to the ground to create a partition (such as a fence) with the shape of the polyline.

Spline

Determines if the polyline is drawn as a curve based on its nodes.

Terrain

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

Timespan

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

Tooltip

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

TreeItem

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

Visibility

An IVisibility61 representing the visibility of the polyline at different distances, as well as visibility of the polyline in TerraExplorer Basic Viewer.

 

Methods

 

get_ClientData

This method is exposed only in C#. To use from C++ or JavaScript use the ClientData property. (Inherited from ITerraExplorerObject61)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject61)

set_ClientData

This method is exposed only in C#. To use from C++ or JavaScript use the ClientData property. (Inherited from ITerraExplorerObject61)

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject61)