CoordTransform Class

Uses

GeoCalcCOM.ICoordTransform2

 

Description

The CoordTransform class represents a map from coordinates given in one coordinate system to coordinate given in another coordinate system.  Each CoordTransform has exactly one ICoordSys that acts as the source for the transformation that can be accessed through the SourceCoordSys property, and one ICoordSys that acts as the target for the transformation that can be accessed through the TargetCoordSys property.  A CoordTransform is capable of performing a forward conversion, which converts a point in the SourceCoordSys to a point in the target TargetCoordSys, or a reverse conversion, which converts a point in the TargetCoordSys to a point in the SourceCoordSys.

 

Public Properties

Property

Description

DatumShifts

The collection of DatumShifts that describe the datum shift from the SourceCoordSys to the TargetCoordSys

HasValidVerticalTransform

Indicates whether the CoordTransform is equipped to perform a vertical transformation

Identifiers

The IdentifierCollection that stores all identifiers for this object

Name

The name of this object

Remarks

Additional remarks about this object

SourceCoordSys

The ICoordSys that from which the points are converted

TargetCoordSys

The ICoordSys to which the points are converted

 

Public Methods

Method

Description

Clone

Produces a deep-copy of the current instance

ConvertAhead

Converts a ICoordPoint in the SourceCoordSys to a ICoordPoint in the TargetCoordSys

ConvertBack

Converts a ICoordPoint in the TargetCoordSys to a ICoordPoint in the SourceCoordSys

ConvertListAhead

Converts a set of ICoordPoints in the SourceCoordSys to a set of ICoordPoints in the TargetCoordSys

ConvertListBack

Converts a set of ICoordPoints in the TargetCoordSys to a set of ICoordPoints in the SourceCoordSys

DeepCopy

Produces a deep-copy of a CoordTransform

HasIdentifiersIn

Indicates if this object has an identifier that is also present in the specified object

InitializeVerticalTransform

Prepares the CoordTransform to perform a vertical transformation

SetDatumShifts

Sets the DatumShifts property

ValueEquals

Compares the value of two CoordTransform instances