3 #include <GeographicLib/UTMUPS.hpp> 25 GeographicLib::UTMUPS::Forward(gps.
lat, gps.
lon, zone, northp, utm.x(), utm.y());
26 }
catch (GeographicLib::GeographicErr& e) {
35 double xAfterTransfer = 0;
36 double yAfterTransfer = 0;
37 int zoneAfterTransfer = 0;
40 yAfterTransfer, zoneAfterTransfer);
41 }
catch (GeographicLib::GeographicErr& e) {
45 if (zoneAfterTransfer !=
zone_) {
48 utm.x() = xAfterTransfer;
49 utm.y() = yAfterTransfer;
65 }
catch (GeographicLib::GeographicErr& e) {
Eigen::Vector3d BasicPoint3d
GPSPoint reverse(const BasicPoint3d &utm) const override
bool isInNorthernHemisphere_
BasicPoint3d forward(const GPSPoint &gps) const override
UtmProjector(Origin origin, bool useOffset=true, bool throwInPaddingArea=false)
const Origin & origin() const