ITerrainRegularPolygon81 

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

 

 

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

FillStyle

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

ID

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

LineStyle

An ILineStyle81 representing the style of the polygon outline.

Message

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

Position

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

Terrain

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

TimeSpan

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

Tooltip

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

TreeItem

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

Visibility

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

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)