Namespaces | Defines | Functions
utm_conversions.cpp File Reference

Universal Transverse Mercator transforms. More...

#include <ros/ros.h>
#include <angles/angles.h>
#include <geodesy/utm.h>
Include dependency graph for utm_conversions.cpp:

Go to the source code of this file.

Namespaces

namespace  geodesy

Defines

#define UTM_E2   (WGS84_E*WGS84_E)
#define UTM_E4   (UTM_E2*UTM_E2)
#define UTM_E6   (UTM_E4*UTM_E2)
#define UTM_EP2   (UTM_E2/(1-UTM_E2))
#define UTM_FE   500000.0
#define UTM_FN_N   0.0
#define UTM_FN_S   10000000.0
#define UTM_K0   0.9996
#define WGS84_A   6378137.0
#define WGS84_B   6356752.31424518
#define WGS84_E   0.0818191908
#define WGS84_EP   0.0820944379
#define WGS84_F   0.0033528107

Functions

void geodesy::fromMsg (const geographic_msgs::GeoPoint &from, UTMPoint &to)
void geodesy::fromMsg (const geographic_msgs::GeoPose &from, UTMPose &to)
bool geodesy::isValid (const UTMPoint &pt)
bool geodesy::isValid (const UTMPose &pose)
geographic_msgs::GeoPoint geodesy::toMsg (const UTMPoint &from)
static char geodesy::UTMBand (double Lat, double Lon)

Detailed Description

Universal Transverse Mercator transforms.

Functions to convert WGS 84 (ellipsoidal) latitude and longitude to and from (Euclidean) UTM coordinates.

Todo:
handle Universal Polar Stereographic (UPS) zones
Author:
Chuck Gantz, Globalstar, Inc.
Jack O'Quin, for ROS interface

Definition in file utm_conversions.cpp.


Define Documentation

#define UTM_E2   (WGS84_E*WGS84_E)

Definition at line 70 of file utm_conversions.cpp.

#define UTM_E4   (UTM_E2*UTM_E2)

Definition at line 71 of file utm_conversions.cpp.

#define UTM_E6   (UTM_E4*UTM_E2)

Definition at line 72 of file utm_conversions.cpp.

#define UTM_EP2   (UTM_E2/(1-UTM_E2))

Definition at line 73 of file utm_conversions.cpp.

#define UTM_FE   500000.0

Definition at line 67 of file utm_conversions.cpp.

#define UTM_FN_N   0.0

Definition at line 68 of file utm_conversions.cpp.

#define UTM_FN_S   10000000.0

Definition at line 69 of file utm_conversions.cpp.

#define UTM_K0   0.9996

Definition at line 66 of file utm_conversions.cpp.

#define WGS84_A   6378137.0

Definition at line 59 of file utm_conversions.cpp.

#define WGS84_B   6356752.31424518

Definition at line 60 of file utm_conversions.cpp.

#define WGS84_E   0.0818191908

Definition at line 62 of file utm_conversions.cpp.

#define WGS84_EP   0.0820944379

Definition at line 63 of file utm_conversions.cpp.

#define WGS84_F   0.0033528107

Definition at line 61 of file utm_conversions.cpp.



geodesy
Author(s): Jack O'Quin
autogenerated on Fri Aug 28 2015 10:50:29