ITerrainRectangle81 

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

Bottom

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

Depth

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

FillStyle

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

ID

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

Left

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

LineStyle

An ILineStyle81 representing the style of the rectangle outline.

Message

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

ObjectType

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

Position

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

Terrain

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

Timespan

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

Tooltip

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

Visibility

An IVisibility81 representing the visibility of the rectangle at different distances.

Width

Gets and sets the rectangle width, in the units set by ISGWorld.SetOptionParam.

 

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)

Bottom

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

 

JavaScript

 

 

 

Bottom

 

C#

 

 

 

double Bottom { get; set; }

 

C++

 

 

 

HRESULT Bottom([out, retval] double* pVal)

HRESULT Bottom([in] double pVal)

Depth

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

 

JavaScript

 

 

 

Depth

 

C#

 

 

 

double Depth { get; set; }

 

C++

 

 

 

HRESULT Depth([out, retval] double* pVal)

HRESULT Depth([in] double pVal)

 

 

Left

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

 

JavaScript

 

 

 

Left

 

C#

 

 

 

double Left { get; set; }

 

C++

 

 

 

HRESULT Left([out, retval] double* pVal)

HRESULT Left([in] double pVal)

 

Right

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

 

JavaScript

 

 

 

Right

 

C#

 

 

 

double Right { get; set; }

 

C++

 

 

 

HRESULT Right([out, retval] double* pVal)

HRESULT Right([in] double pVal)

Top

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

 

JavaScript

 

 

 

Top

 

C#

 

 

 

double Top { get; set; }

 

C++

 

 

 

HRESULT Top([out, retval] double* pVal)

HRESULT Top([in] double pVal)

Width

Gets and sets the rectangle width, in the units set by ISGWorld.SetOptionParam.

 

JavaScript

 

 

 

Width

 

C#

 

 

 

double Width { get; set; }

 

C++

 

 

 

 

HRESULT Width([out, retval] double* pVal)

HRESULT Width([in] double pVal)