Class: AbstractCrs

AbstractCrs

Creates an coordinate reference system for a globe and data. A coordinate reference system is a coordinate system that is related to an object by a geodetic datum. A coordinate system is a set of mathematical rules for specifying how coordinates are to be assigned to points

new AbstractCrs(options)

Parameters:
Name Type Description
options AbstractCrs.configuration Options for the coordinate reference system.
Implements:
Throws:
Will throw when option.geoideName, options.geoBound and options.type are not defined
Type
ReferenceError

Methods


isFlat()

Implements:

getVerticalAt3D()

Implements:

fromGeoTo3D()

Implements:

from3DToGeo()

Implements:

getLocalTransform()

Implements:

getLHVTransform()

Implements:

getSideVector()

Implements:

getFrontVector()

Implements:

getUpVector()

Implements:

<abstract> formatCoordinates()

Implements:

getGeoide()

Implements:

getGeoideName()

Implements:

getType()

Implements:

getElevation()

Implements:

getWorldFrom3D()

Implements:

get3DFromWorld()

Implements:

get3DFromWorldInCrs()

Implements:

getSexagesimalFromDeg()

Implements:

getDecimalDegFromSexagesimal()

Implements:

convert()

Implements:

fromDegreesToHMS()

Implements:

fromDegreesToDMS()

Implements:

_setupPosBeforeTrans()

Implements:

_setupPosAfterTrans()

Implements:

getGeoBound()

Implements:

Type Definitions


configuration

Abstract coordinate reference system configuration
Type:
Properties:
Name Type Description
geoideName CRS name of the coordinate reference system
type CONTEXT Type of the CRS
geoBound GeoBound Geographical bounding box

crsFactory

Data model to create a coordinate reference system through the factory
Type:
Properties:
Name Type Description
options.geoideName CRS name of the geoide

geoide_configuration

Geoide configuration
Type:
  • Object
Properties:
Name Type Description
radius float internal radius in vector length
realPlanetRadius float real planet radius in meter

configuration

ProjectedCrs configuration
Type:
Properties:
Name Type Description
geoideName CRS name of the coordinate reference system
type CONTEXT Type of the CRS
geoBound GeoBound Geographical bounding box