Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
lanelet::projection::Mercator Class Reference

#include <Mercator.h>

Inheritance diagram for lanelet::projection::Mercator:
Inheritance graph
[legend]

Public Member Functions

BasicPoint3d forward (const GPSPoint &pGps) const override
 
 Mercator (const Origin &origin=Origin::defaultOrigin())
 
GPSPoint reverse (const BasicPoint3d &p) const override
 
- Public Member Functions inherited from lanelet::Projector
Projectoroperator= (const Projector &rhs)=default
 
Projectoroperator= (Projector &&rhs) noexcept=default
 
const Originorigin () const
 
 Projector (const Projector &rhs)=default
 
 Projector (Origin origin=Origin::defaultOrigin())
 
 Projector (Projector &&rhs) noexcept=default
 
virtual ~Projector () noexcept=default
 

Static Private Member Functions

static BasicPoint3d rawForward (const GPSPoint &p)
 
static GPSPoint rawReverse (const BasicPoint3d &p)
 

Private Attributes

BasicPoint3d offset_ {0, 0, 0}
 

Static Private Attributes

static constexpr double Eccent {0.081819190928906924}
 
static constexpr double RMajor {6378137.0}
 
static constexpr double RMinor {6356752.3142}
 

Additional Inherited Members

- Public Types inherited from lanelet::Projector
typedef std::shared_ptr< ProjectorPtr
 

Detailed Description

Implements the usual elliptical mercator projection This is the same transformation used by liblanelet(1).

Definition at line 9 of file Mercator.h.

Constructor & Destructor Documentation

◆ Mercator()

lanelet::projection::Mercator::Mercator ( const Origin origin = Origin::defaultOrigin())
inlineexplicit

Definition at line 11 of file Mercator.h.

Member Function Documentation

◆ forward()

BasicPoint3d lanelet::projection::Mercator::forward ( const GPSPoint pGps) const
inlineoverridevirtual

Implements lanelet::Projector.

Definition at line 14 of file Mercator.h.

◆ rawForward()

static BasicPoint3d lanelet::projection::Mercator::rawForward ( const GPSPoint p)
inlinestaticprivate

Definition at line 18 of file Mercator.h.

◆ rawReverse()

static GPSPoint lanelet::projection::Mercator::rawReverse ( const BasicPoint3d p)
inlinestaticprivate

Definition at line 28 of file Mercator.h.

◆ reverse()

GPSPoint lanelet::projection::Mercator::reverse ( const BasicPoint3d p) const
inlineoverridevirtual

Implements lanelet::Projector.

Definition at line 15 of file Mercator.h.

Member Data Documentation

◆ Eccent

constexpr double lanelet::projection::Mercator::Eccent {0.081819190928906924}
staticconstexprprivate

Definition at line 45 of file Mercator.h.

◆ offset_

BasicPoint3d lanelet::projection::Mercator::offset_ {0, 0, 0}
private

Definition at line 42 of file Mercator.h.

◆ RMajor

constexpr double lanelet::projection::Mercator::RMajor {6378137.0}
staticconstexprprivate

Definition at line 43 of file Mercator.h.

◆ RMinor

constexpr double lanelet::projection::Mercator::RMinor {6356752.3142}
staticconstexprprivate

Definition at line 44 of file Mercator.h.


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


lanelet2_projection
Author(s): Maximilian Naumann , Fabian Poggenhans , Jan-Hendrik Pauls , MichaƂ Antkiewicz
autogenerated on Thu Mar 6 2025 03:26:06