NumCpp  2.12.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
nc::coordinates::reference_frames::LLA Class Reference

Geodetic coordinates. More...

#include <LLA.hpp>

Public Member Functions

 LLA ()=default
 Default Constructor. More...
 
constexpr LLA (double inLatitude, double inLongitude, double inAltitude=0.) noexcept
 Constructor. More...
 
bool operator!= (const LLA &other) const noexcept
 Non-Equality Operator. More...
 
bool operator== (const LLA &other) const noexcept
 Non-Equality Operator. More...
 

Data Fields

double altitude { 0. }
 
double latitude { 0. }
 
double longitude { 0. }
 

Detailed Description

Geodetic coordinates.

Constructor & Destructor Documentation

◆ LLA() [1/2]

nc::coordinates::reference_frames::LLA::LLA ( )
default

Default Constructor.

◆ LLA() [2/2]

constexpr nc::coordinates::reference_frames::LLA::LLA ( double  inLatitude,
double  inLongitude,
double  inAltitude = 0. 
)
inlineconstexprnoexcept

Constructor.

Parameters
inLatitudelatitude value in radians
inLongitudelongitude value in radians
inAltitudealtitude value in meters

Member Function Documentation

◆ operator!=()

bool nc::coordinates::reference_frames::LLA::operator!= ( const LLA other) const
inlinenoexcept

Non-Equality Operator.

Parameters
otherother object
Returns
bool true if not equal equal

◆ operator==()

bool nc::coordinates::reference_frames::LLA::operator== ( const LLA other) const
inlinenoexcept

Non-Equality Operator.

Parameters
otherother object
Returns
bool true if not equal equal

Field Documentation

◆ altitude

double nc::coordinates::reference_frames::LLA::altitude { 0. }

◆ latitude

double nc::coordinates::reference_frames::LLA::latitude { 0. }

◆ longitude

double nc::coordinates::reference_frames::LLA::longitude { 0. }

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