Public Member Functions | Public Attributes | List of all members
geodesy::UTMPoint Class Reference

#include <utm.h>

Public Member Functions

 UTMPoint ()
 
 UTMPoint (const geographic_msgs::GeoPoint &pt)
 
 UTMPoint (const UTMPoint &that)
 
 UTMPoint (double _easting, double _northing, double _altitude, uint8_t _zone, char _band)
 
 UTMPoint (double _easting, double _northing, uint8_t _zone, char _band)
 

Public Attributes

double altitude
 altitude above ellipsoid [meters] or NaN More...
 
char band
 MGRS latitude band letter. More...
 
double easting
 easting within grid zone [meters] More...
 
double northing
 northing within grid zone [meters] More...
 
uint8_t zone
 UTM longitude zone number. More...
 

Detailed Description

Universal Transverse Mercator (UTM) point.

The altitude may be specified (3D) or not (2D). The altitude of a 2D point is not a number (NaN).

Including the top-level grid zone designator (GZD) from the Military Grid Reference System (MGRS) permits unambiguous use of Universal Polar Stereographic (UPS) coordinates for the polar regions not covered by UTM, making this representation more general than pure UTM.

Definition at line 82 of file utm.h.

Constructor & Destructor Documentation

◆ UTMPoint() [1/5]

geodesy::UTMPoint::UTMPoint ( )
inline

Null constructor. Makes a 2D, invalid point object.

Definition at line 87 of file utm.h.

◆ UTMPoint() [2/5]

geodesy::UTMPoint::UTMPoint ( const UTMPoint that)
inline

Copy constructor.

Definition at line 96 of file utm.h.

◆ UTMPoint() [3/5]

geodesy::UTMPoint::UTMPoint ( const geographic_msgs::GeoPoint &  pt)

Create UTM point from WGS 84 geodetic point.

Definition at line 293 of file utm_conversions.cpp.

◆ UTMPoint() [4/5]

geodesy::UTMPoint::UTMPoint ( double  _easting,
double  _northing,
uint8_t  _zone,
char  _band 
)
inline

Create a flattened 2-D grid point.

Definition at line 107 of file utm.h.

◆ UTMPoint() [5/5]

geodesy::UTMPoint::UTMPoint ( double  _easting,
double  _northing,
double  _altitude,
uint8_t  _zone,
char  _band 
)
inline

Create a 3-D grid point.

Definition at line 116 of file utm.h.

Member Data Documentation

◆ altitude

double geodesy::UTMPoint::altitude

altitude above ellipsoid [meters] or NaN

Definition at line 128 of file utm.h.

◆ band

char geodesy::UTMPoint::band

MGRS latitude band letter.

Definition at line 130 of file utm.h.

◆ easting

double geodesy::UTMPoint::easting

easting within grid zone [meters]

Definition at line 126 of file utm.h.

◆ northing

double geodesy::UTMPoint::northing

northing within grid zone [meters]

Definition at line 127 of file utm.h.

◆ zone

uint8_t geodesy::UTMPoint::zone

UTM longitude zone number.

Definition at line 129 of file utm.h.


The documentation for this class was generated from the following files:


geodesy
Author(s): Jack O'Quin
autogenerated on Wed Mar 2 2022 00:19:31