CoordinateTransform

Description

abstract class Tinman.Terrain.Georef.CoordinateTransform

Abstract base class for ICoordinateTransform implementations.

Protected / Methods

Latitude​Clip


[Pure]
protected static method LatitudeClip → (3)

latitude in : float64

The latitude angle, in radians.

origin opt : float64 = 0

Latitude of the map origin, in radians.

delta opt : float64 = Maths.PiHalf

The maximum difference to origin opt to allow.

returns → bool

See ICoordinateTransform.GeographicClip.

Helper for implementing ICoordinateTransform.GeographicClip that checks if the given latitude angle is within the specified range.

Longitude​Clip


[Pure]
protected static method LongitudeClip → (3)

longitude in : float64

The longitude angle, in radians.

origin in : float64

Longitude of the map origin, in radians.

delta opt : float64 = Maths.PiHalf

The maximum difference to origin in to allow.

returns → bool

See ICoordinateTransform.GeographicClip.

Helper for implementing ICoordinateTransform.GeographicClip that checks if the given longitude angle is within the specified range.