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

class CoordinateTransform in Tinman.Terrain.Georef

Abstract base class for ICoordinateTransform implementations.

abstract class CoordinateTransform implements ICoordinateTransform
  base of ProjCoordinateTransform

Public / Attributes

IsFlip

Does this coordinate system transform flip the handedness?

public virtual property IsFlip { get }
type bool
value true if the coordinate system handedness if flipped, false if not.
implements ICoordinateFlip.IsFlip

Public / Methods

Flags

Applies the given coordinate system flags to this transform.

public virtual method Flags (CoordinateSystemFlags flags)
type ICoordinateTransform
params flags The coordinate system flags to apply.
returns [not-null] The resulting coordinate transform.
implements ICoordinateTransform.Flags

Remarks:

The given flags will change the interpretation of easting and northing values that are passed to MapToGeographic or returned from GeographicToMap.

GeographicClip

Checks if the given coordinates lie within a bad region of this transformation.

[Pure]
public virtual method GeographicClip (float64 latitude, float64 longitude)
type bool
params latitude Latitude in radians, in terms of horizontal datum of geodata.
  longitude Longitude in radians, in terms of horizontal datum of geodata.
returns true if the given coordinates are considered to be bad, false if they are ok.
implements ICoordinateTransform.GeographicClip

Remarks:

Bad regions are where heavy distortion or coordinate wrap-around occurs. This method is intended to be used for visualization. It should not be used for data processing.

GeographicToMap

Performs the forward calculation.

[Pure]
public abstract method GeographicToMap (float64 latitude, float64 longitude)
type Vec2D
params latitude Latitude in radians, in terms of horizontal datum of geodata.
  longitude Longitude in radians, in terms of horizontal datum of geodata.
returns The resulting easting (X) and northing (Y) values, in map units.
implements ICoordinateTransform.GeographicToMap

MapToGeographic

Performs the reverse calculation.

[Pure]
public abstract method MapToGeographic (float64 easting, float64 northing)
type Vec2D
params easting The easting coordinate, in map units.
  northing The northing coordinate, in map units.
returns The resulting longitude (X) and latitude (Y) angles in radians, in terms of horizontal datum of geodata.
implements ICoordinateTransform.MapToGeographic