A CoordinateSystemTransform object is used to transform coordinates from one CoordinateSystem (geographic or projected) into another one.
sealed class
|
CoordinateSystemTransform
|
implements
|
ICoordinateFlip
|
The CoordinateSystemTransform class wraps zero, one or two ICoordinateTransform s (for projected source and/or target coordinate system) and zero or one IDatumTransform s (for different GeodeticDatum s).
Does this coordinate system transform flip the handedness?
public
property
|
IsFlip
{
get
}
|
||
type
|
bool
|
||
value
|
true
if
the
coordinate
system
handedness
if
flipped,
false
if
not.
|
||
implements
|
ICoordinateFlip.IsFlip
|
Checks if this coordinate system transform is the identity transform.
public
property
|
IsIdentity
{
get
}
|
||
type
|
bool
|
||
value
|
true
if
this
is
the
identity
transform,
false
if
not. |
Remarks:
This property only refers to the numerical identity of the transformation, i.e. output coordinates will be equal to input coordinates.
The source coordinate system.
public
property
|
Source
{
get
}
|
||
type
|
CoordinateSystem
|
||
value
|
|
The source coordinate system. |
The target coordinate system.
public
property
|
Target
{
get
}
|
||
type
|
CoordinateSystem
|
||
value
|
|
The target coordinate system. |
Creates a new instance of CoordinateSystemTransform.
public
constructor
|
CoordinateSystemTransform
(CoordinateSystem source,
CoordinateSystem target,
IDatumTransform datumTransform = null)
|
||
params
|
source
|
[not-null]
|
The source coordinate system. |
target
|
[not-null]
|
The target coordinate system. | |
datumTransform
|
Optional
datum
transform.
If
null ,
a
lookup
will
be
performed
into
the
current
GeoRegistry.
Defaults
to
null .
|
Return the reverse coordinate system transform.
public
method
|
Reverse
()
|
||
type
|
CoordinateSystemTransform
|
||
returns
|
|
The reverse transform. |
Transforms the given scale.
[Pure]
|
||||
public
method
|
Transform
(float64 scale)
|
|||
type
|
float64
|
|||
params
|
scale
|
The scale. | ||
returns
|
The transformed scale. |
Transform the given coordinates.
public
method
|
Transform
(Vec2D v)
|
||
type
|
Vec2D
|
||
params
|
v
|
The source coordinates (see Source). | |
returns
|
The target coordinates (see Target). |
Transform the given coordinates.
public
method
|
Transform
(float64 x,
float64 y)
|
||
type
|
Vec2D
|
||
params
|
x
|
The source X-coordinate (see Source). | |
y
|
The source Y-coordinate (see Source). | ||
returns
|
The target coordinates (see Target). |