ITerrain3DRectBase81 

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

Attachment

An IAttachment81 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 IFillStyle81 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 ITerraExplorerObject81)

Left

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

LineStyle

An ILineStyle81 representing the style of the object outline.

Message

An IMessageObject81 representing the message object assigned to the 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 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 ITerraExplorerObject81)

Terrain

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

Timespan

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

Tooltip

An ITooltip81 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 ITreeItem81 describing the representation of the object in the Project Tree.

Visibility

An IVisibility81 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 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 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)