ITerrainRectangle66

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

 

 

Properties

 

Action

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

Attachment

An IAttachment66 representing the attachment behavior of the rectangle.

Bottom

Gets and sets the y-coordinate of the bottom-right corner of the rectangle.

ClientData

Gets and sets an array of text strings assigned to each object global namespace. C# exposes this property as get_ClientData and set_ClientData. (Inherited from ITerraExplorerObject66)

Depth

Gets and sets the rectangle depth (length), in the units set by ISGWorld.SetOptionParam.

FillStyle

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

ID

Gets the ID of the rectangle. (Inherited from ITerraExplorerObject66)

Left

Gets and sets the x-coordinate of the top-left corner of the rectangle.

LineStyle

An ILineStyle66 representing the style of the rectangle outline.

Message

An IMessageObject66 representing the message object assigned to the rectangle object.

ObjectType

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

Position

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

Right

Gets and sets the x-coordinate of the bottom-right corner of the rectangle.

SaveInFlyFile

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

Terrain

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

Timespan

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

Tooltip

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

Top

Gets and sets the y-coordinate of the top-left corner of the rectangle.

TreeItem

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

Visibility

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

Width

Gets and sets 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 ITerraExplorerObject66)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject66)

set_ClientData

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject66)