C# Class ProjNet.CoordinateSystems.Transformations.DatumTransform

Transformation for applying
Inheritance: MathTransform
Show file Open project: fivepmtechnology/ProjNET

Protected Properties

Property Type Description
_inverse IMathTransform

Public Methods

Method Description
DatumTransform ( Wgs84ConversionInfo towgs84 ) : System

Initializes a new instance of the DatumTransform class.

Inverse ( ) : IMathTransform

Creates the inverse transform of this object.

This method may fail if the transform is not one to one. However, all cartographic projections should succeed.

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

Method Description
Apply ( double p ) : double[]
ApplyInverted ( double p ) : double[]
DatumTransform ( Wgs84ConversionInfo towgs84, bool isInverse ) : System

Method Details

DatumTransform() public method

Initializes a new instance of the DatumTransform class.
public DatumTransform ( Wgs84ConversionInfo towgs84 ) : System
towgs84 Wgs84ConversionInfo
return System

Inverse() public method

Creates the inverse transform of this object.
This method may fail if the transform is not one to one. However, all cartographic projections should succeed.
public Inverse ( ) : IMathTransform
return IMathTransform

Invert() public method

Reverses the transformation
public Invert ( ) : void
return void

Transform() public method

Transforms a coordinate point. The passed parameter point should not be modified.
public Transform ( double point ) : double[]
point double
return double[]

TransformList() public method

public TransformList ( IList points ) : IList
points IList
return IList

TransformList() public method

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
return IList

Property Details

_inverse protected property

protected IMathTransform _inverse
return IMathTransform