ITerrain3DRectBase 

Both pyramid and box objects, which have a rectangular base, implement this interface. To distinguish between the two during run time, use the ObjectType property.

 

 

Properties

 

Action

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

Attachment

An IAttachment representing attachment properties of the object.

Bottom

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

Depth

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

FillStyle

An IFillStyle representing the fill color and texture of the object.

Height

Gets and sets the height of the object in meters.

ID

Gets the ID of the object. (Inherited from ITerraExplorerObject)

Left

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

LineStyle

An ILineStyle representing the style of the object outline.

Message

An IMessageObject representing the message object assigned to the object.

ObjectType

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

Position

An IPosition representing the position and orientation of the object on the terrain.

Right

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

SaveInFlyFile

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

Terrain

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

Timespan

An ITimeSpan representing the timespan in which the object is visible on the terrain.

Tooltip

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

Top

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

TreeItem

An ITreeItem describing the representation of the object in the Project Tree.

Visibility

An IVisibility representing the visibility of the object at different distances.

Width

Gets and sets the rectangle width.

 

Methods

 

GetClientData

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

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject)

SetClientData

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject)

Bottom

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

 

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

 

JavaScript

 

 

 

Depth

 

C#

 

 

 

double Depth { get; set; }

 

C++

 

 

 

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

HRESULT Depth([in] double pVal)

Height

Gets and sets the height of the object.

 

JavaScript

 

 

 

Height

 

C#

 

 

 

double Height { get; set; }

 

C++

 

 

 

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

HRESULT Height([in] double pVal)

Left

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

 

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 rectangular base.

 

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 rectangular base.

 

JavaScript

 

 

 

Top

 

C#

 

 

 

double Top { get; set; }

 

C++

 

 

 

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

HRESULT Top([in] double pVal)

Width

Gets and sets the rectangular base’s width.

 

JavaScript

 

 

 

Width

 

C#

 

 

 

double Width { get; set; }

 

C++

 

 

 

 

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

HRESULT Width([in] double pVal)