TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class CoordinateSystemTransform in Tinman.Terrain.Georef

A CoordinateSystemTransform object is used to transform coordinates from one CoordinateSystem (geographic or projected) into another one.

sealed class CoordinateSystemTransform implements ICoordinateFlip

Remarks

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).

Public / Attributes

IsFlip

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

IsIdentity

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.

Source

The source coordinate system.

public property Source { get }
type CoordinateSystem
value [not-null] The source coordinate system.

Target

The target coordinate system.

public property Target { get }
type CoordinateSystem
value [not-null] The target coordinate system.

Public / Constructors

CoordinateSystemTransform

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.

Public / Methods

Reverse

Return the reverse coordinate system transform.

public method Reverse ()
type CoordinateSystemTransform
returns [not-null] The reverse transform.

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).