ITerrainRegularPolygon80

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

 

 

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

FillStyle

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

ID

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

LineStyle

An ILineStyle80 representing the style of the polygon outline.

Message

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

Position

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

Terrain

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

TimeSpan

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

Tooltip

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

TreeItem

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

Visibility

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

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)