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

Geocentric coordinates. More...

#include <Geocentric.hpp>

Public Member Functions

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

Data Fields

double latitude { 0. }
 
double longitude { 0. }
 
double radius { 0. }
 

Detailed Description

Geocentric coordinates.

Constructor & Destructor Documentation

◆ Geocentric() [1/2]

nc::coordinates::reference_frames::Geocentric::Geocentric ( )
default

Default Constructor.

◆ Geocentric() [2/2]

constexpr nc::coordinates::reference_frames::Geocentric::Geocentric ( double  inLatitude,
double  inLongitude,
double  inRadius = 0. 
)
inlineconstexprnoexcept

Constructor.

Parameters
inLatitudelatitude value in radians
inLongitudelongitude value in radians
inRadiusradius value in meters

Member Function Documentation

◆ operator!=()

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

Non-Equality Operator.

Parameters
otherother object
Returns
bool true if not equal equal

◆ operator==()

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

Non-Equality Operator.

Parameters
otherother object
Returns
bool true if not equal equal

Field Documentation

◆ latitude

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

◆ longitude

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

◆ radius

double nc::coordinates::reference_frames::Geocentric::radius { 0. }

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