static class
|
GeorefUtil
|
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. |
public
static
method
|
HeadingToCardinal
(float64 heading,
bool sixteen)
|
||
type
|
string
|
||
params
|
heading
|
||
sixteen
|
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 |
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
|
|
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
|
|
The heading angle, in degrees. |