KanoopCommonQt 2.1.1
Kanoop foundational Qt utility library
Loading...
Searching...
No Matches
EarthGeo Class Reference

Physical constants and cardinal bearings for Earth-based geodetic calculations. More...

#include <earthgeo.h>

Static Public Attributes

static const double EarthRadius
 Mean Earth radius in metres.
 
static const int GeoPrecision
 Decimal places used for coordinate comparison.
 
static const int LengthPrecision
 Decimal places used for distance values.
 
static const double North
 Bearing 0° (due north)
 
static const double NorthEast
 Bearing 45°
 
static const double East
 Bearing 90°
 
static const double SouthEast
 Bearing 135°
 
static const double South
 Bearing 180°
 
static const double SouthWest
 Bearing 225°
 
static const double West
 Bearing 270°
 
static const double NorthWest
 Bearing 315°
 

Detailed Description

Physical constants and cardinal bearings for Earth-based geodetic calculations.

Provides physical constants and compass bearing constants for geodetic calculations.

All bearings are in degrees, measured clockwise from North (0°).

Definition at line 13 of file earthgeo.h.

Member Data Documentation

◆ EarthRadius

const double EarthGeo::EarthRadius
static

Mean Earth radius in metres.

Definition at line 19 of file earthgeo.h.

◆ East

const double EarthGeo::East
static

Bearing 90°

Definition at line 25 of file earthgeo.h.

◆ GeoPrecision

const int EarthGeo::GeoPrecision
static

Decimal places used for coordinate comparison.

Definition at line 20 of file earthgeo.h.

◆ LengthPrecision

const int EarthGeo::LengthPrecision
static

Decimal places used for distance values.

Definition at line 21 of file earthgeo.h.

◆ North

const double EarthGeo::North
static

Bearing 0° (due north)

Definition at line 23 of file earthgeo.h.

◆ NorthEast

const double EarthGeo::NorthEast
static

Bearing 45°

Definition at line 24 of file earthgeo.h.

◆ NorthWest

const double EarthGeo::NorthWest
static

Bearing 315°

Definition at line 30 of file earthgeo.h.

◆ South

const double EarthGeo::South
static

Bearing 180°

Definition at line 27 of file earthgeo.h.

◆ SouthEast

const double EarthGeo::SouthEast
static

Bearing 135°

Definition at line 26 of file earthgeo.h.

◆ SouthWest

const double EarthGeo::SouthWest
static

Bearing 225°

Definition at line 28 of file earthgeo.h.

◆ West

const double EarthGeo::West
static

Bearing 270°

Definition at line 29 of file earthgeo.h.


The documentation for this class was generated from the following file: