Namespaces | Defines | Functions | Variables
GeoUtilities.hpp File Reference
#include <utility>
#include <math.h>
#include <Eigen/Dense>
Include dependency graph for GeoUtilities.hpp:

Go to the source code of this file.

Namespaces

namespace  labust
namespace  labust::tools

Defines

#define _USE_MATH_DEFINES

Functions

std::pair< double, double > labust::tools::deg2meter (double difflat, double difflon, double lat)
Eigen::Vector3d labust::tools::ecef2geodetic (const Eigen::Vector3d &xyz)
Eigen::Vector3d labust::tools::ecef2ned (const Eigen::Vector3d &xyz, const Eigen::Vector3d &geo)
Eigen::Vector3d labust::tools::geodetic2ecef (const Eigen::Vector3d &geo)
std::pair< double, double > labust::tools::meter2deg (double x, double y, double lat)
double labust::tools::mpdlat (double lat)
double labust::tools::mpdlon (double lat)
Eigen::Vector3d labust::tools::ned2ecef (const Eigen::Vector3d &ned, const Eigen::Vector3d &geo)
Eigen::Matrix3d labust::tools::nedrot (const Eigen::Vector3d &geo)
 Returns the rotation matrix between ECEF and NED frame.
Eigen::Matrix3d labust::tools::nwurot (const Eigen::Vector3d &geo)
 Returns the rotation matrix between ECEF and NWU frame.

Variables

static const double labust::tools::a = 6378137
 Semi-major axis of the local geodetic datum ellipsoid.
static const double labust::tools::b = a*(1-f)
 Semi-minor axis of the local geodetic datum ellipsoid.
static const double labust::tools::deg2rad = M_PI/180
 Constants for quick projection.
static const double labust::tools::ecsq = (a*a - b*b)/(b*b)
 Secondary eccentricity squared.
static const double labust::tools::esq = 2*f-f*f
 First eccentricity squared.
static const double labust::tools::f = 1/298.257223563
 Flattening of the local geodetic datum ellipsoid.
static const double labust::tools::rad2deg = 180/M_PI
static const double labust::tools::radius = 6378137
static const double labust::tools::ratio = 0.99664719

Define Documentation

Definition at line 36 of file GeoUtilities.hpp.



snippets
Author(s): Gyula Nagy
autogenerated on Fri Aug 28 2015 11:22:33