43 #ifndef GEODETICCOORDS_H_ 44 #define GEODETICCOORDS_H_ 48 #include <opencv2/core/core.hpp> 56 GeodeticCoords(
double latitude,
double longitude,
double altitude);
58 const double &
latitude()
const {
return latitude_;}
59 const double &
longitude()
const {
return longitude_;}
60 const double &
altitude()
const {
return altitude_;}
66 cv::Point3d toGeocentric_WGS84()
const;
69 void fromGeocentric_WGS84(
const cv::Point3d& geocentric);
70 void fromENU_WGS84(
const cv::Point3d & enu,
const GeodeticCoords & origin);
72 static cv::Point3d ENU_WGS84ToGeocentric_WGS84(
const cv::Point3d & enu,
const GeodeticCoords & origin);
73 static cv::Point3d Geocentric_WGS84ToENU_WGS84(
74 const cv::Point3d & geocentric_WGS84,
75 const cv::Point3d & origin_geocentric_WGS84,
void setLongitude(const double &value)
const double & altitude() const
const double & longitude() const
const double & latitude() const
void setLatitude(const double &value)
void setAltitude(const double &value)