ICoordinateTransform

Description

interface Tinman.Terrain.Georef.ICoordinateTransform

Derived from

ICoordinateFlip

Extended by

CoordinateTransform abstract
IMapTransform

An ICoordinateTransform object provides a mapping between map coordinates (i.e. easting and northing) and geographic coordinates (i.e. latitude and longitude).

Public / Methods

Flags


public method Flags → (1)

flags in : CoordinateSystemFlags

The coordinate system flags to apply.

returns → ICoordinateTransform

The resulting coordinate transform.

Applies the given coordinate system flags to this transform.

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

GeographicClip


[Pure]
public method GeographicClip → (2)

latitude in : float64

Latitude in radians, in terms of horizontal datum of geodata.

longitude in : float64

Longitude in radians, in terms of horizontal datum of geodata.

returns → bool

true if the given coordinates are considered to be bad, false if they are ok.

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

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


[Pure]
public method GeographicToMap → (2)

latitude in : float64

Latitude in radians, in terms of horizontal datum of geodata.

longitude in : float64

Longitude in radians, in terms of horizontal datum of geodata.

returns → Vec2D

The resulting easting (Vec2D.X) and northing (Vec2D.Y) values, in map units.

Performs the forward calculation.

MapToGeographic


[Pure]
public method MapToGeographic → (2)

easting in : float64

The easting coordinate, in map units.

northing in : float64

The northing coordinate, in map units.

returns → Vec2D

The resulting longitude (Vec2D.X) and latitude (Vec2D.Y) angles in radians, in terms of horizontal datum of geodata.

Performs the reverse calculation.

Extensions

GeographicToMap

2 overloads


[Pure]
public static method GeographicToMap1 → (1)

latLon in : LatLon

The latitude and latitude angles.

returns → Vec2D

The resulting easting (see Vec2D.X) and northing (see Vec2D.Y) values.

Performs the forward calculation.


[Pure]
public static method GeographicToMap2 → (1)

lonLat in : Vec2D

The longitude (Vec2D.X) and latitude (Vec2D.Y) angles in radians, in terms of horizontal datum of geodata.

returns → Vec2D

The resulting easting (see Vec2D.X) and northing (see Vec2D.Y) values.

Performs the forward calculation.

MapToGeographic


[Pure]
public static method MapToGeographic → (1)

eastingNorthing in : Vec2D

The easting (see Vec2D.X) and northing (see Vec2D.Y) values.

returns → Vec2D

The resulting longitude (see Vec2D.X) and latitude (see Vec2D.Y) angles, in radians.

Performs the reverse calculation.

MapToGeographicLatLon

2 overloads


[Pure]
public static method MapToGeographicLatLon1 → (2)

easting in : float64

The easting coordinate, in map units.

northing in : float64

The northing coordinate, in map units.

returns → LatLon

The resulting longitude and latitude.

Performs the reverse calculation.


[Pure]
public static method MapToGeographicLatLon2 → (1)

eastingNorthing in : Vec2D

The easting (see Vec2D.X) and northing (see Vec2D.Y) values.

returns → LatLon

The resulting longitude and latitude.

Performs the reverse calculation.