ITerrainRectangle80

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

Attachment

An IAttachment80 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 IFillStyle80 representing the fill color and texture of the rectangle.

ID

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

Left

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

LineStyle

An ILineStyle80 representing the style of the rectangle outline.

Message

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

ObjectType

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

Position

An IPosition80 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 ITerraExplorerObject80)

Terrain

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

Timespan

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

Tooltip

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

Visibility

An IVisibility80 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 ITerraExplorerObject80)

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)

SetClientData

Sets an array of text strings assigned to each object global namespace. (Inherited from ITerraExplorerObject80)

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)

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)