C# Class ProjNet.CoordinateSystems.Transformations.GeocentricTransform

Inheritance: MathTransform
Afficher le fichier Open project: fivepmtechnology/ProjNET

Protected Properties

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

Méthodes publiques

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

Initializes a geocentric projection object

Inverse ( ) : IMathTransform

Returns the inverse of this conversion.

Invert ( ) : void

Reverses the transformation

Transform ( double point ) : double[]

Transforms a coordinate point. The passed parameter point should not be modified.

TransformList ( IList points ) : IList
TransformList ( IList points ) : IList

Transforms a list of coordinate point ordinal values.

This method is provided for efficiently transforming many points. The supplied array of ordinal values will contain packed ordinal values. For example, if the source dimension is 3, then the ordinals will be packed in this order (x0,y0,z0,x1,y1,z1 ...). The size of the passed array must be an integer multiple of DimSource. The returned ordinal values are packed in a similar way. In some DCPs. the ordinals may be transformed in-place, and the returned array may be the same as the passed array. So any client code should not attempt to reuse the passed ordinal values (although they can certainly reuse the passed array). If there is any problem then the server implementation will throw an exception. If this happens then the client should not make any assumptions about the state of the 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 geocentric projection object

MetersToDegrees ( double pnt ) : double[]

Converts coordinates in projected meters to decimal degrees.

Method Details

GeocentricTransform() public méthode

Initializes a geocentric projection object
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

Returns the inverse of this conversion.
public Inverse ( ) : IMathTransform
Résultat IMathTransform

Invert() public méthode

Reverses the transformation
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
Résultat double[]

TransformList() public méthode

public TransformList ( IList points ) : IList
points IList
Résultat IList

TransformList() public méthode

Transforms a list of coordinate point ordinal values.
This method is provided for efficiently transforming many points. The supplied array of ordinal values will contain packed ordinal values. For example, if the source dimension is 3, then the ordinals will be packed in this order (x0,y0,z0,x1,y1,z1 ...). The size of the passed array must be an integer multiple of DimSource. The returned ordinal values are packed in a similar way. In some DCPs. the ordinals may be transformed in-place, and the returned array may be the same as the passed array. So any client code should not attempt to reuse the passed ordinal values (although they can certainly reuse the passed array). If there is any problem then the server implementation will throw an exception. If this happens then the client should not make any assumptions about the state of the ordinal values.
public TransformList ( IList points ) : IList
points IList
Résultat IList

Property Details

_Parameters protected_oe property

protected List _Parameters
Résultat List

_inverse protected_oe property

protected MathTransform _inverse
Résultat MathTransform

_isInverse protected_oe property

protected bool _isInverse
Résultat bool