All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
Eegeo::Space::EcefTangentBasis Class Reference

Defines an orthogonal coordindate basis in ECEF space. More...

#include <EcefTangentBasis.h>

Public Member Functions

 EcefTangentBasis (const dv3 &pointEcef, const v3 &heading)
 Construct from point and heading (forward) direction. More...
 
const dv3GetPointEcef () const
 
const v3GetRight () const
 
const v3GetUp () const
 
const v3GetForward () const
 
void Set (const dv3 &pointEcef, const v3 &heading)
 Set from point and heading (forward) direction. More...
 
void SetPoint (const dv3 &pointEcef)
 
void SetHeading (const v3 &heading)
 
void GetBasisOrientationAsMatrix (m33 &out) const
 Returns the right, up, forward basis vectors of the basis as a 3x3 matrix.
 
m44 GetEcefToTangentTransform () const
 
m44 GetTangentToEcefTransform () const
 

Static Public Member Functions

static EcefTangentBasis CreateFromMortonKey (const Eegeo::Streaming::MortonKey &key)
 Creates an ecef tangent basis for a morton key. More...
 

Detailed Description

Defines an orthogonal coordindate basis in ECEF space.

EcefTangentBasis defines an orthogonal coordinate basis located at a point in ECEF (Earth-centred, Earth-fixed) space. The "up" direction is constrained to be perpendicular to the (earth-) sphere's surface - so are radial from the sphere centre. The "right" and "forward" directions lie on a plane that is tangential to the earth-sphere surface.

Constructor & Destructor Documentation

Eegeo::Space::EcefTangentBasis::EcefTangentBasis ( const dv3 pointEcef,
const v3 heading 
)

Construct from point and heading (forward) direction.

Parameters
pointEcefthe origin of the coordinate basis, in ECEF coordinates
headingdirection. This is projected onto the sphere-tangent plane passing through pointEcef, to become the Forward direction

Member Function Documentation

EcefTangentBasis Eegeo::Space::EcefTangentBasis::CreateFromMortonKey ( const Eegeo::Streaming::MortonKey key)
static

Creates an ecef tangent basis for a morton key.

Parameters
key.The morton key for which the ecef tangent basis is to be constructed
void Eegeo::Space::EcefTangentBasis::Set ( const dv3 pointEcef,
const v3 heading 
)

Set from point and heading (forward) direction.

Parameters
pointEcefthe origin of the coordinate basis, in ECEF coordinates
headingdirection. This is projected onto the sphere-tangent plane passing through pointEcef, to become the Forward direction

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