MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
envitia::maplink::earth::GeodeticPoint Class Reference
Inheritance diagram for envitia::maplink::earth::GeodeticPoint:

Detailed Description

A position in geodetic (ENU) space

This class is used to specify a position in East-North-Up (ENU) space

  • x: longitude in WGS84
  • y: latitude in WGS84
  • z: altitude in meters, relative to the ellipsoid

Public Member Functions

 GeodeticPoint ()
 Constructor.
 
 GeodeticPoint (double x, double y, double z)
 Constructor.
 
 GeodeticPoint (const GeodeticPoint &other)
 Copy Constructor.
 
 GeodeticPoint (const Vec3 &other)
 Copy Constructor.
 
virtual ~GeodeticPoint ()
 Destructor.
 
GeodeticDirection toDirection () const
 
GeodeticDirection toDirection (const GeodeticPoint &origin) const
 
bool operator== (const GeodeticPoint &v) const
 Equality operator.
 
bool operator!= (const GeodeticPoint &v) const
 Inequality operator.
 
bool operator< (const Vec3 &v) const
 Less than operator.
 
const GeodeticPoint operator* (const double &v) const
 Multiply the vector by a scalar value.
 
GeodeticPoint operator*= (const double &v)
 Multiply the vector by a scalar value.
 
const GeodeticPoint operator/ (const double &v) const
 Divide the vector by a scalar value.
 
GeodeticPoint operator/= (const double &v)
 Divide the vector by a scalar value.
 
const GeodeticPoint operator+ (const GeodeticPoint &v) const
 Addition operator.
 
GeodeticPoint operator+= (const GeodeticPoint &v)
 Addition operator.
 
const GeodeticPoint operator- (const GeodeticPoint &v) const
 Subtraction operator.
 
GeodeticPoint operator-= (const GeodeticPoint &v)
 Subtraction operator.
 
double operator* (const GeodeticPoint &v) const
 
const GeodeticPoint operator^ (const GeodeticPoint &v) const
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ GeodeticPoint() [1/4]

envitia::maplink::earth::GeodeticPoint::GeodeticPoint ( )

Constructor.

◆ GeodeticPoint() [2/4]

envitia::maplink::earth::GeodeticPoint::GeodeticPoint ( double x,
double y,
double z )

Constructor.

◆ GeodeticPoint() [3/4]

envitia::maplink::earth::GeodeticPoint::GeodeticPoint ( const GeodeticPoint & other)

Copy Constructor.

◆ GeodeticPoint() [4/4]

envitia::maplink::earth::GeodeticPoint::GeodeticPoint ( const Vec3 & other)

Copy Constructor.

◆ ~GeodeticPoint()

virtual envitia::maplink::earth::GeodeticPoint::~GeodeticPoint ( )
virtual

Destructor.

Member Function Documentation

◆ operator!=()

bool envitia::maplink::earth::GeodeticPoint::operator!= ( const GeodeticPoint & v) const

Inequality operator.

◆ operator*() [1/2]

const GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator* ( const double & v) const

Multiply the vector by a scalar value.

◆ operator*() [2/2]

double envitia::maplink::earth::GeodeticPoint::operator* ( const GeodeticPoint & v) const

Calculate the dot product with another vector

Parameters
vThe vector to perform a dot product against
Returns
The dot product (this . v)

◆ operator*=()

GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator*= ( const double & v)

Multiply the vector by a scalar value.

◆ operator+()

const GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator+ ( const GeodeticPoint & v) const

Addition operator.

◆ operator+=()

GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator+= ( const GeodeticPoint & v)

Addition operator.

◆ operator-()

const GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator- ( const GeodeticPoint & v) const

Subtraction operator.

◆ operator-=()

GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator-= ( const GeodeticPoint & v)

Subtraction operator.

◆ operator/()

const GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator/ ( const double & v) const

Divide the vector by a scalar value.

◆ operator/=()

GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator/= ( const double & v)

Divide the vector by a scalar value.

◆ operator<()

bool envitia::maplink::earth::GeodeticPoint::operator< ( const Vec3 & v) const

Less than operator.

◆ operator==()

bool envitia::maplink::earth::GeodeticPoint::operator== ( const GeodeticPoint & v) const

Equality operator.

◆ operator^()

const GeodeticPoint envitia::maplink::earth::GeodeticPoint::operator^ ( const GeodeticPoint & v) const

Calculate the cross product with another vector

Parameters
vThe vector to perform a cross product against
Returns
The cross product (this x v)

◆ toDirection() [1/2]

GeodeticDirection envitia::maplink::earth::GeodeticPoint::toDirection ( ) const

Convert to a direction

The direction will be calculated as the direction from the origin to this point.

◆ toDirection() [2/2]

GeodeticDirection envitia::maplink::earth::GeodeticPoint::toDirection ( const GeodeticPoint & origin) const

Convert to a direction

The direction will be calculated as the direction from the origin to this point.

Parameters
originThe origin of the direction