CARLA
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
carla::geom::Ellipsoid Class Reference

#include <GeoProjectionsParams.h>

Public Member Functions

double b () const
 
double e2 () const
 
 Ellipsoid ()=default
 
 Ellipsoid (double a, double f_inv)
 
double ep2 () const
 
double f () const
 
void fromb (double b)
 
void fromf (double f)
 
bool operator!= (const Ellipsoid &rhs) const
 
bool operator== (const Ellipsoid &rhs) const
 

Public Attributes

double a = 6378137.0
 
double f_inv = std::numeric_limits<double>::infinity()
 

Detailed Description

Definition at line 32 of file GeoProjectionsParams.h.

Constructor & Destructor Documentation

◆ Ellipsoid() [1/2]

carla::geom::Ellipsoid::Ellipsoid ( )
default

◆ Ellipsoid() [2/2]

carla::geom::Ellipsoid::Ellipsoid ( double  a,
double  f_inv 
)
inline

Definition at line 37 of file GeoProjectionsParams.h.

Member Function Documentation

◆ b()

double carla::geom::Ellipsoid::b ( ) const
inline

Definition at line 46 of file GeoProjectionsParams.h.

References a, and f().

Referenced by fromb().

◆ e2()

double carla::geom::Ellipsoid::e2 ( ) const
inline

◆ ep2()

double carla::geom::Ellipsoid::ep2 ( ) const
inline

◆ f()

double carla::geom::Ellipsoid::f ( ) const
inline

Definition at line 43 of file GeoProjectionsParams.h.

References f_inv.

Referenced by b(), e2(), and fromf().

◆ fromb()

void carla::geom::Ellipsoid::fromb ( double  b)
inline

Definition at line 57 of file GeoProjectionsParams.h.

References a, b(), and f_inv.

◆ fromf()

void carla::geom::Ellipsoid::fromf ( double  f)
inline

Definition at line 60 of file GeoProjectionsParams.h.

References f(), and f_inv.

◆ operator!=()

bool carla::geom::Ellipsoid::operator!= ( const Ellipsoid &  rhs) const
inline

Definition at line 68 of file GeoProjectionsParams.h.

References a, and f_inv.

◆ operator==()

bool carla::geom::Ellipsoid::operator== ( const Ellipsoid &  rhs) const
inline

Definition at line 64 of file GeoProjectionsParams.h.

References a, and f_inv.

Member Data Documentation

◆ a

double carla::geom::Ellipsoid::a = 6378137.0

◆ f_inv

double carla::geom::Ellipsoid::f_inv = std::numeric_limits<double>::infinity()

Definition at line 41 of file GeoProjectionsParams.h.

Referenced by f(), fromb(), fromf(), operator!=(), and operator==().


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