15#ifndef CARMA_COOPERATIVE_PERCEPTION__GEODETIC_HPP_
16#define CARMA_COOPERATIVE_PERCEPTION__GEODETIC_HPP_
78 coordinate.
easting += displacement.easting;
79 coordinate.northing += displacement.northing;
80 coordinate.elevation += displacement.elevation;
96 return coordinate += displacement;
110 return coordinate += displacement;
124 coordinate.
easting += displacement.easting;
125 coordinate.northing += displacement.northing;
126 coordinate.elevation += displacement.elevation;
142 return coordinate -= displacement;
156 return coordinate -= displacement;
181auto project_to_utm(
const Wgs84Coordinate & coordinate) -> UtmCoordinate;
195 -> units::angle::degree_t;
198 -> units::angle::degree_t;
auto calculate_grid_convergence(const Wgs84Coordinate &position, const UtmZone &zone) -> units::angle::degree_t
Calculate grid convergence at a given position.
constexpr auto operator-=(UtmCoordinate &coordinate, const UtmDisplacement &displacement) -> UtmCoordinate &
Subtraction-assignment operator overload.
auto project_to_carma_map(const Wgs84Coordinate &coordinate, std::string_view proj_string) -> MapCoordinate
constexpr auto operator+=(UtmCoordinate &coordinate, const UtmDisplacement &displacement) -> UtmCoordinate &
Addition-assignment operator overload.
constexpr auto operator+(UtmCoordinate coordinate, const UtmDisplacement &displacement) -> UtmCoordinate
Addition operator overload.
constexpr auto operator-(UtmCoordinate coordinate, const UtmDisplacement &displacement) -> UtmCoordinate
Subtraction operator overload.
auto calculate_utm_zone(const Wgs84Coordinate &coordinate) -> UtmZone
Get the UTM zone number from a WGS-84 coordinate.
auto project_to_utm(const Wgs84Coordinate &coordinate) -> UtmCoordinate
Projects a Wgs84Coordinate to its corresponding UTM zone.
units::length::meter_t easting
units::length::meter_t elevation
units::length::meter_t northing
Represents a position using UTM coordinates.
units::length::meter_t elevation
units::length::meter_t northing
units::length::meter_t easting
Represent a displacement from a UTM coordinate.
units::length::meter_t northing
units::length::meter_t elevation
units::length::meter_t easting
Represents a position using WGS-84 coordinates.
units::angle::degree_t longitude
units::length::meter_t elevation
units::angle::degree_t latitude