Vanetza
Loading...
Searching...
No Matches
vanetza::security::v2::ThreeDLocation Struct Reference

ThreeDLocation specified in TS 103 097 v1.2.1, section 4.2.19. More...

#include <region.hpp>

Public Types

using Elevation = std::array<uint8_t, 2>

Public Member Functions

 ThreeDLocation (geonet::geo_angle_i32t latitude, geonet::geo_angle_i32t longitude)
 ThreeDLocation (units::GeoAngle latitude, units::GeoAngle longitude)
 ThreeDLocation (geonet::geo_angle_i32t latitude, geonet::geo_angle_i32t longitude, Elevation elevation)
 ThreeDLocation (units::GeoAngle latitude, units::GeoAngle longitude, Elevation elevation)
bool operator== (const ThreeDLocation &) const
bool operator!= (const ThreeDLocation &) const

Public Attributes

geonet::geo_angle_i32t latitude
geonet::geo_angle_i32t longitude
Elevation elevation

Static Public Attributes

static const Elevation unknown_elevation {{ 0xF0, 0x00 }}
static const Elevation min_elevation {{ 0xF0, 0x01 }}
static const Elevation max_elevation {{ 0xEF, 0xFF }}

Detailed Description

ThreeDLocation specified in TS 103 097 v1.2.1, section 4.2.19.

Definition at line 20 of file region.hpp.

Member Typedef Documentation

◆ Elevation

using vanetza::security::v2::ThreeDLocation::Elevation = std::array<uint8_t, 2>

Definition at line 22 of file region.hpp.

Constructor & Destructor Documentation

◆ ThreeDLocation() [1/4]

vanetza::security::v2::ThreeDLocation::ThreeDLocation ( geonet::geo_angle_i32t latitude,
geonet::geo_angle_i32t longitude )
inline

Definition at line 28 of file region.hpp.

◆ ThreeDLocation() [2/4]

vanetza::security::v2::ThreeDLocation::ThreeDLocation ( units::GeoAngle latitude,
units::GeoAngle longitude )
inline

Definition at line 30 of file region.hpp.

◆ ThreeDLocation() [3/4]

vanetza::security::v2::ThreeDLocation::ThreeDLocation ( geonet::geo_angle_i32t latitude,
geonet::geo_angle_i32t longitude,
Elevation elevation )
inline

Definition at line 32 of file region.hpp.

◆ ThreeDLocation() [4/4]

vanetza::security::v2::ThreeDLocation::ThreeDLocation ( units::GeoAngle latitude,
units::GeoAngle longitude,
Elevation elevation )
inline

Definition at line 34 of file region.hpp.

Member Function Documentation

◆ operator!=()

bool vanetza::security::v2::ThreeDLocation::operator!= ( const ThreeDLocation & other) const

Definition at line 69 of file region.cpp.

◆ operator==()

bool vanetza::security::v2::ThreeDLocation::operator== ( const ThreeDLocation & other) const

Definition at line 64 of file region.cpp.

Member Data Documentation

◆ elevation

Elevation vanetza::security::v2::ThreeDLocation::elevation

Definition at line 39 of file region.hpp.

◆ latitude

geonet::geo_angle_i32t vanetza::security::v2::ThreeDLocation::latitude

Definition at line 37 of file region.hpp.

◆ longitude

geonet::geo_angle_i32t vanetza::security::v2::ThreeDLocation::longitude

Definition at line 38 of file region.hpp.

◆ max_elevation

const ThreeDLocation::Elevation vanetza::security::v2::ThreeDLocation::max_elevation {{ 0xEF, 0xFF }}
static

Definition at line 25 of file region.hpp.

◆ min_elevation

const ThreeDLocation::Elevation vanetza::security::v2::ThreeDLocation::min_elevation {{ 0xF0, 0x01 }}
static

Definition at line 24 of file region.hpp.

◆ unknown_elevation

const ThreeDLocation::Elevation vanetza::security::v2::ThreeDLocation::unknown_elevation {{ 0xF0, 0x00 }}
static

Definition at line 23 of file region.hpp.


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