Home > All Other Interfaces > ITerrainRectangle

ITerrainRectangle6

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 IAction6 representing the operation that takes place when the object is clicked in the Project Tree.

Attachment

An IAttachment6 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 ITerraExplorerObject6)

Depth

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

FillStyle

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

ID

The ID of the rectangle. (Inherited from ITerraExplorerObject6)

Left

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

LineStyle

An ILineStyle6 representing the style of the rectangle outline.

Message

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

ObjectType

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

Position

An IPosition6 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 ITerraExplorerObject6)

Shadow

An IShadow6 representing the rectangle shadow.

Terrain

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

Timespan

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

Tooltip

An ITooltip6 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 ITreeItem6 representing details about the representation of the rectangle in the Project Tree.

Visibility

An IVisibility6 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 ISGWorld6. SetOptionParam.

 

Methods

 

get_ClientData

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

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject6)

set_ClientData

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject6)