ITerrainRectangle65

A rectangle implementation object that is derived from this interface, is defined by two corners, the top left corner and the bottom right corner. You can also change the dimensions of a rectangle using the Width and Depth properties.

 

 

Properties

 

Action

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

Attachment

An IAttachment65 representing the attachment behavior of the rectangle.

Bottom

The y-coordinate of the bottom-right corner of the rectangle.

ClientData

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

Depth

The rectangle depth (length), in the units set by ISGWorld.SetOptionParam.

FillStyle

An IFillStyle65 representing the fill color and texture of the rectangle.

ID

The ID of the rectangle. (Inherited from ITerraExplorerObject65)

Left

The x-coordinate of the top-left corner of the rectangle.

LineStyle

An ILineStyle65 representing the style of the rectangle outline.

Message

An IMessageObject65 representing the message object assigned to the object.

ObjectType

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

Position

An IPosition65 representing the position and orientation of the rectangle on the terrain.

Right

The x-coordinate of the bottom-right corner of the rectangle.

SaveInFlyFile

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

Terrain

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

Timespan

An ITimeSpan65 representing the timespan in which the rectangle is visible on the terrain.

Tooltip

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

Top

The y-coordinate of the top-left corner of the rectangle.

TreeItem

An ITreeItem65 representing details about the representation of the rectangle in the Project Tree.

Visibility

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

Width

The rectangle width, in the units set by ISGWorld.SetOptionParam.

 

Methods

 

get_ClientData

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

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject65)

set_ClientData

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject65)