Options
All
  • Public
  • Public/Protected
  • All
Menu

Module ria/geodesy/GeodesyFactory

A factory for Geodesy instances.

Overview

Functions

createCartesianGeodesy

  • Creates a geodesy instance for the given reference that performs distance, angle and interpolation calculations by interpreting coordinates as coordinates in a Cartesian coordinate system.

    throws

    ProgrammingError if no reference was given or if the reference is not a spatial reference.

    Parameters

    Returns Geodesy

    a geodesy instance

createEllipsoidalGeodesy

  • Creates a geodesy instance for the given reference that performs geodesy calculations using the ellipsoid associated with the given reference.

    throws

    ProgrammingError if no reference was given or if the reference is not a spatial reference.

    Parameters

    Returns Geodesy

    a geodesy instance

createSphericalGeodesy

  • Creates a geodesy instance for the given reference that performs geodesy calculations using spherical approximations of the ellipsoid associated with the given reference. The results of the calculations performed by this type of geodesy instance are less accurate than the ellipsoidal variants, but can be computed faster.

    If earthRadius is specified instances returned by this method will use the given radius when performing spherical calculations. Otherwise an appropriate value for the earth radius will be chosen automatically based on the ellipsoid associated with the given reference.

    throws

    ProgrammingError if no reference was given or if the reference is not a spatial reference

    Parameters

    • reference: CoordinateReference

      the reference

    • Optional earthRadius: number

      the radius of the sphere in meters

    Returns Geodesy

    a geodesy instance

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method