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

#include <GeoLocation.h>

Public Member Functions

 GeoLocation ()=default
 
 GeoLocation (double latitude, double longitude, double altitude)
 
 MSGPACK_DEFINE_ARRAY (latitude, longitude, altitude)
 
bool operator!= (const GeoLocation &rhs) const
 
bool operator== (const GeoLocation &rhs) const
 

Public Attributes

double altitude = 0.0
 
double latitude = 0.0
 
double longitude = 0.0
 

Detailed Description

Definition at line 14 of file GeoLocation.h.

Constructor & Destructor Documentation

◆ GeoLocation() [1/2]

carla::geom::GeoLocation::GeoLocation ( )
default

◆ GeoLocation() [2/2]

carla::geom::GeoLocation::GeoLocation ( double  latitude,
double  longitude,
double  altitude 
)
inline

Definition at line 33 of file GeoLocation.h.

Member Function Documentation

◆ MSGPACK_DEFINE_ARRAY()

carla::geom::GeoLocation::MSGPACK_DEFINE_ARRAY ( latitude  ,
longitude  ,
altitude   
)

◆ operator!=()

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

Definition at line 46 of file GeoLocation.h.

◆ operator==()

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

Definition at line 42 of file GeoLocation.h.

References altitude, latitude, and longitude.

Member Data Documentation

◆ altitude

double carla::geom::GeoLocation::altitude = 0.0

◆ latitude

double carla::geom::GeoLocation::latitude = 0.0

◆ longitude

double carla::geom::GeoLocation::longitude = 0.0

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