ad_map_access
Public Types | Public Member Functions | Public Attributes | List of all members
ad::map::point::GeoPoint Struct Reference

DataType GeoPoint. More...

#include <ad/map/point/GeoPoint.hpp>

Collaboration diagram for ad::map::point::GeoPoint:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< GeoPointPtr
 Smart pointer on GeoPoint.
 
typedef std::shared_ptr< GeoPoint const > ConstPtr
 Smart pointer on constant GeoPoint.
 

Public Member Functions

 GeoPoint ()=default
 standard constructor
 
 ~GeoPoint ()=default
 standard destructor
 
 GeoPoint (const GeoPoint &other)=default
 standard copy constructor
 
 GeoPoint (GeoPoint &&other)=default
 standard move constructor
 
GeoPointoperator= (const GeoPoint &other)=default
 standard assignment operator More...
 
GeoPointoperator= (GeoPoint &&other)=default
 standard move operator More...
 
bool operator== (const GeoPoint &other) const
 standard comparison operator More...
 
bool operator!= (const GeoPoint &other) const
 standard comparison operator More...
 

Public Attributes

::ad::map::point::Longitude longitude {std::numeric_limits<double>::quiet_NaN()}
 
::ad::map::point::Latitude latitude {std::numeric_limits<double>::quiet_NaN()}
 
::ad::map::point::Altitude altitude {std::numeric_limits<double>::quiet_NaN()}
 

Detailed Description

DataType GeoPoint.

A geographical location in WGS-84

Member Function Documentation

◆ operator!=()

bool ad::map::point::GeoPoint::operator!= ( const GeoPoint other) const
inline

standard comparison operator

Parameters
[in]otherOther GeoPoint.
Returns
true if both GeoPoint are different

◆ operator=() [1/2]

GeoPoint& ad::map::point::GeoPoint::operator= ( const GeoPoint other)
default

standard assignment operator

Parameters
[in]otherOther GeoPoint
Returns
Reference to this GeoPoint.

◆ operator=() [2/2]

GeoPoint& ad::map::point::GeoPoint::operator= ( GeoPoint &&  other)
default

standard move operator

Parameters
[in]otherOther GeoPoint
Returns
Reference to this GeoPoint.

◆ operator==()

bool ad::map::point::GeoPoint::operator== ( const GeoPoint other) const
inline

standard comparison operator

Parameters
[in]otherOther GeoPoint
Returns
true if both GeoPoint are equal

Member Data Documentation

◆ altitude

::ad::map::point::Altitude ad::map::point::GeoPoint::altitude {std::numeric_limits<double>::quiet_NaN()}

The altitude of the geo point.

◆ latitude

::ad::map::point::Latitude ad::map::point::GeoPoint::latitude {std::numeric_limits<double>::quiet_NaN()}

The latitude of the geo point.

◆ longitude

::ad::map::point::Longitude ad::map::point::GeoPoint::longitude {std::numeric_limits<double>::quiet_NaN()}

The longitude of the geo point.


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