ITerrainRegularPolygon 

This interface gives the client access to the regular polygon object.

 

 

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 polygon.

FillStyle

An IFillStyle representing the fill color and texture of the polygon.

ID

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

LineStyle

An ILineStyle representing the style of the polygon outline.

Message

An IMessageObject representing the message object assigned to the object.

NumberOfSegments

Gets and sets the number of segments the polygon has.

ObjectType

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

Position

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

Radius

Gets and sets the radius of the regular polygon.

SaveInFlyFile

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

Terrain

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

TimeSpan

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

Tooltip

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

TreeItem

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

Visibility

An IVisibility representing the visibility of the polygon 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)

NumberOfSegments

Gets and sets the number of segments polygon has. The more segments, the smoother and more circular it appears.

 

JavaScript

 

 

 

NumberOfSegments

 

C#

 

 

 

int NumberOfSegments { get; set; }

 

C++

 

 

 

HRESULT NumberOfSegments([out, retval] long* pVal)

HRESULT NumberOfSegments([in] long pVal)

Radius

Gets and sets the radius of the polygon, in the units set by ISGWorld.SetOptionParam.

 

JavaScript

 

 

 

Radius

 

C#

 

 

 

double Radius { get; set; }

 

C++

 

 

 

 

HRESULT Radius([out, retval] double* pVal)

HRESULT Radius([in] double pVal)