C# Class MapAround.CoordinateSystems.Transformations.GeocentricTransform

Implements a geocentric transformation.

Latitude, Longitude and ellipsoidal height in terms of a 3-dimensional geographic system may by expressed in terms of a geocentric (earth centered) Cartesian coordinate reference system X, Y, Z with the Z axis corresponding to the earth's rotation axis positive northwards, the X axis through the intersection of the prime meridian and equator, and the Y axis through the intersection of the equator with longitude 90 degrees east. The geographic and geocentric systems are based on the same geodetic datum.

Geocentric coordinate reference systems are conventionally taken to be defined with the X axis through the intersection of the Greenwich meridian and equator. This requires that the equivalent geographic coordinate reference systems based on a non-Greenwich prime meridian should first be transformed to their Greenwich equivalent. Geocentric coordinates X, Y and Z take their units from the units of the ellipsoid axes (a and b). As it is conventional for X, Y and Z to be in metres, if the ellipsoid axis dimensions are given in another linear unit they should first be converted to metres.

Inheritance: MathTransform
Afficher le fichier Open project: gkrsu/maparound.core

Protected Properties

Свойство Type Description
_inverse MathTransform
_isInverse bool
_parameters List

Méthodes publiques

Méthode Description
GeocentricTransform ( List parameters, bool isInverse ) : System

Initializes a new instance of the MapAround.CoordinateSystems.Transformations.GeocentricTransform.

Inverse ( ) : IMathTransform

Creates the inverse transform of this object.

This method may fail if the transform is not one to one.

Invert ( ) : void

Inverts this transform.

Transform ( double point ) : double[]

Transforms a coordinate point.

The passed parameter point should not be modified.

TransformList ( List points ) : List

Transforms a list of coordinate point ordinal values.

Private Methods

Méthode Description
DegreesToMeters ( double lonlat ) : double[]

Converts coordinates in decimal degrees to projected meters.

GeocentricTransform ( List parameters ) : System

Initializes a new instance of the MapAround.CoordinateSystems.Transformations.GeocentricTransform.

MetersToDegrees ( double pnt ) : double[]

Converts coordinates in projected meters to decimal degrees.

Method Details

GeocentricTransform() public méthode

Initializes a new instance of the MapAround.CoordinateSystems.Transformations.GeocentricTransform.
public GeocentricTransform ( List parameters, bool isInverse ) : System
parameters List List of parameters to initialize the projection
isInverse bool Indicates whether the projection forward (meters to degrees or degrees to meters)
Résultat System

Inverse() public méthode

Creates the inverse transform of this object.
This method may fail if the transform is not one to one.
public Inverse ( ) : IMathTransform
Résultat IMathTransform

Invert() public méthode

Inverts this transform.
public Invert ( ) : void
Résultat void

Transform() public méthode

Transforms a coordinate point.
The passed parameter point should not be modified.
public Transform ( double point ) : double[]
point double An array containing the point coordinates to transform
Résultat double[]

TransformList() public méthode

Transforms a list of coordinate point ordinal values.
public TransformList ( List points ) : List
points List Packed ordinates of points to transform
Résultat List

Property Details

_inverse protected_oe property

protected MathTransform,MapAround.CoordinateSystems.Transformations _inverse
Résultat MathTransform

_isInverse protected_oe property

protected bool _isInverse
Résultat bool

_parameters protected_oe property

protected List _parameters
Résultat List