Procedure EntityTransform

Parent Previous Next

Description: Changes the position and orientation of an entity in TerrainView™.

Struct:

Field Name

O

Type

Description

ID


string

Entity identifier.

Position

X

double[3]

Position of the entity.

SnapToTerrain

(X)

boolean

true -> altitude is over ground
false -> altitude is over sea level

This parameter is required if the Position parameter is given.

UpdatePOICamera

X

boolean

If this parameter is set to true (which is the default if this parameter is not specified), the camera position and orientation for the POI is updated automatically. The automatic camera position and orientation ensure that the POI is visible if the POI camera settings are used (for example with the "jump to" command).

HPR

X

double[3]

Orientation of the entity as heading, pitch and roll angles. For details see the CameraSetAbsolute procedure.

Scale

X

double[3]

The scale of the entity in x, y and z direction of the entity coordinate system.