EarthAnchorPoint

EarthAnchorPoint

Contains information about the model's position in latitude, longitude, and elevation for GIS mapping applications.

Members

description :string

Gets or sets the long form of the identifying information about this location.
Type:
  • string

earthBasepointElevation :double

Gets or sets the point elevation on earth, in meters.
Type:
  • double

earthBasepointElevationZero :BasepointZero

Gets or sets a value indicating the zero level convention relating to a location on Earth.
Type:
  • BasepointZero

earthBasepointLatitude :double

Gets or sets a point latitude on earth, in degrees. +90 = north pole, 0 = equator, -90 = south pole.
Type:
  • double

earthBasepointLongitude :double

Gets or sets the point longitude on earth, in degrees.
Type:
  • double

modelBasePoint :Array.<x, y, z>

Corresponding model point in model coordinates.
Type:
  • Array.<x, y, z>

modelEast :Array.<x, y, z>

Earth directions in model coordinates.
Type:
  • Array.<x, y, z>

modelNorth :Array.<x, y, z>

Earth directions in model coordinates.
Type:
  • Array.<x, y, z>

name :string

Gets or sets the short form of the identifying information about this location.
Type:
  • string

Methods

earthLocationIsSet() → {bool}

Checks if the earth location is set or not.
Returns:
Boolean value, true if set else false
Type
bool

getModelCompass() → {Plane}

Returns a plane in model coordinates whose X axis points East, Y axis points North and Z axis points Up. The origin is set to ModelBasepoint.
Returns:
A plane value. This might be invalid on error.
Type
Plane

getModelToEarthTransform(modelUnitSystem) → {Transform}

Gets a transformation from model coordinates to earth coordinates. This transformation assumes the model is small enough that the curvature of the earth can be ignored.
Parameters:
Name Type Description
modelUnitSystem UnitSystem The model unit system.
Returns:
Transform on success. Invalid Transform on error.
Type
Transform