ITerrainModifier80

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

ApplyTo

Gets and sets which ID of the 3DML in the area of the terrain modifier object, the terrain modifier object is applied to.

Attachment

An IAttachment80 representing the attachment behavior of the object.

ClientData

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

DrawOrder

Gets and sets the draw order between objects.

ElevationBehavior

Gets and sets how the terrain modifier acts upon the terrain (crop above, crop below, replace).

Flat

Gets and sets 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

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

Message

An IMessageObject80 representing the message object assigned to the 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 object on the terrain.

SaveInFlyFile

Gets and sets a Boolean that determines whether the object 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 object is visible on the terrain.

Tooltip

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

TreeItem

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

Visibility

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

 

Methods

 

GetFeather

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

GetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)

SetFeather

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

SetParam

Reserved. Currently not used. (Inherited from ITerraExplorerObject80)