include
lanelet2_projection
UTM.h
Go to the documentation of this file.
1
#pragma once
2
#include <
lanelet2_io/Exceptions.h
>
3
#include <
lanelet2_io/Projection.h
>
4
5
namespace
lanelet
{
6
namespace
projection {
7
class
UtmProjector
:
public
Projector
{
8
public
:
9
explicit
UtmProjector
(
Origin
origin
,
bool
useOffset =
true
,
bool
throwInPaddingArea =
false
);
10
11
BasicPoint3d
forward
(
const
GPSPoint
& gps)
const override
;
12
13
GPSPoint
reverse
(
const
BasicPoint3d
& utm)
const override
;
14
15
private
:
16
int
zone_
{};
17
bool
isInNorthernHemisphere_
{
true
},
useOffset_
{},
throwInPaddingArea_
{};
18
double
xOffset_
{},
yOffset_
{};
19
};
20
21
}
// namespace projection
22
}
// namespace lanelet
lanelet::projection::UtmProjector::isInNorthernHemisphere_
bool isInNorthernHemisphere_
Definition:
UTM.h:17
lanelet::projection::UtmProjector::zone_
int zone_
Definition:
UTM.h:16
lanelet::projection::UtmProjector::UtmProjector
UtmProjector(Origin origin, bool useOffset=true, bool throwInPaddingArea=false)
Definition:
UTM.cpp:8
Exceptions.h
lanelet
lanelet::projection::UtmProjector::useOffset_
bool useOffset_
Definition:
UTM.h:17
lanelet::BasicPoint3d
Eigen::Vector3d BasicPoint3d
lanelet::Projector::origin
const Origin & origin() const
lanelet::projection::UtmProjector::forward
BasicPoint3d forward(const GPSPoint &gps) const override
Definition:
UTM.cpp:20
lanelet::projection::UtmProjector::throwInPaddingArea_
bool throwInPaddingArea_
Definition:
UTM.h:17
lanelet::projection::UtmProjector
Definition:
UTM.h:7
Projection.h
lanelet::Projector
lanelet::projection::UtmProjector::yOffset_
double yOffset_
Definition:
UTM.h:18
lanelet::Origin
lanelet::projection::UtmProjector::xOffset_
double xOffset_
Definition:
UTM.h:18
lanelet::projection::UtmProjector::reverse
GPSPoint reverse(const BasicPoint3d &utm) const override
Definition:
UTM.cpp:60
lanelet::GPSPoint
lanelet2_projection
Author(s): Maximilian Naumann
, Fabian Poggenhans
, Jan-Hendrik Pauls
, MichaĆ Antkiewicz
autogenerated on Thu Mar 6 2025 03:26:06