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

class GeorefUtil in Tinman.Terrain.Georef

static class GeorefUtil  

Public / Methods

FaceBounds

Returns the map bounds for Face.

public static method FaceBounds (float64 radius)
type Box2D
params radius [>0] Radius of reference sphere.
returns The map bounds.

HeadingToCardinal

public static method HeadingToCardinal (float64 heading, bool sixteen)
type string
params heading
  sixteen

HeadingToMap

Converts the given heading angle into a direction vector.

public static method HeadingToMap (float64 heading)
type Vec2D
params heading The heading angle, in degrees (0° points northwards).
returns The unit-length direction vector:
X: easting
Y: northing

MapToHeading

Converts the given direction vector into a heading angle (0° points northwards).

public static method MapToHeading (Vec2D eastingNorthing)
type float64
params eastingNorthing The easting (see X) and northing (see Y) values.
returns [-180..180] The heading angle, in degrees.

Converts the given direction vector into a heading angle (0° points northwards).

public static method MapToHeading (float64 easting, float64 northing)
type float64
params easting Map easting coordinate.
  northing Map northing coordinate.
returns [-180..180] The heading angle, in degrees.