Home > All Other Interfaces > ITerrainModifier

ITerrainModifier6

A terrain modifier object is a unique polygon in the TerraExplorer world that changes the elevation values of the terrain, raising or lowering the surface of the terrain according to the elevation values of the polygon's points. Different elevation behaviors allow replacing, cropping above or cropping below the original values of the terrain.

 

 

Properties

 

Action

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

Attachment

An IAttachment6 representing the attachment behavior of the object.

ClientData

A text string assigned to each object global namespace. C# exposes this property as get_ClientData and set_ClientData. (Inherited from ITerraExplorerObject6)

ElevationBehavior

Determines how the terrain modifier acts upon the terrain (crop above, crop below, replace).

Flat

A Boolean that determines if all points of the modified terrain are set at the same altitude.

Geometry

An IGeometry representing geometric properties and behavior of the 3D polygon.

ID

The ID of the object. (Inherited from ITerraExplorerObject6)

Message

An IMessageObject6 representing the message object triggered when the user double-clicks the object’s Project Tree entry.

ObjectType

An enum that identifies the type of the object. (Inherited from ITerraExplorerObject6)

Position

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

SaveInFlyFile

A Boolean that determines whether the object is saved in the Fly file. (Inherited from ITerraExplorerObject6)

Shadow

An IShadow6 representing the object shadow.

Terrain

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

Timespan

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

Tooltip

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

TreeItem

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

Visibility

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

 

Methods

 

get_ClientData

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

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject6)

set_ClientData

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

SetFeather

Determines the distance along which the gradual fading of the edges of the modified terrain is applied.

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject6)