OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimUtmpt.h>
Public Member Functions | |
ossimUtmpt (const ossimGpt &aPt) | |
ossimUtmpt (const ossimEcefPoint &aPt) | |
ossimUtmpt (long zone, char hemisphere, double easting, double northing, const ossimDatum *datum) | |
ossim_int32 | zone () const |
Return the zone for this utm point. More... | |
char | hemisphere () const |
Return the hemisphere ( Northern or Southern). More... | |
double | easting () const |
return the easting value in meters. More... | |
double | northing () const |
return the northing value in meters. More... | |
const ossimDatum * | datum () const |
return the reference datum for this point. More... | |
void | convertFromGround (const ossimGpt &aPt) |
Initializes this point to utm coordinates for the ground point. More... | |
void | convertToGround (ossimGpt &aPt) |
Initializes the ground point from the utm coordinates of this point. More... | |
Private Attributes | |
long | theZone |
char | theHemisphere |
double | theEasting |
double | theNorthing |
const ossimDatum * | theDatum |
Definition at line 26 of file ossimUtmpt.h.
ossimUtmpt::ossimUtmpt | ( | const ossimGpt & | aPt | ) |
Definition at line 24 of file ossimUtmpt.cpp.
References convertFromGround().
ossimUtmpt::ossimUtmpt | ( | const ossimEcefPoint & | aPt | ) |
Definition at line 29 of file ossimUtmpt.cpp.
References convertFromGround().
ossimUtmpt::ossimUtmpt | ( | long | zone, |
char | hemisphere, | ||
double | easting, | ||
double | northing, | ||
const ossimDatum * | datum | ||
) |
Definition at line 34 of file ossimUtmpt.cpp.
void ossimUtmpt::convertFromGround | ( | const ossimGpt & | aPt | ) |
Initializes this point to utm coordinates for the ground point.
aPt | Ground point to initialize from. |
Definition at line 47 of file ossimUtmpt.cpp.
References ossimEllipsoid::a(), Convert_Geodetic_To_UTM(), ossimGpt::datum(), ossimDatum::ellipsoid(), ossimEllipsoid::flattening(), ossimGpt::latr(), ossimGpt::lonr(), Set_UTM_Parameters(), theDatum, theEasting, theHemisphere, theNorthing, and theZone.
Referenced by ossimUtmpt().
void ossimUtmpt::convertToGround | ( | ossimGpt & | aPt | ) |
Initializes the ground point from the utm coordinates of this point.
aPt | Ground point to initialize. |
Definition at line 69 of file ossimUtmpt.cpp.
References ossimEllipsoid::a(), Convert_UTM_To_Geodetic(), ossimGpt::datum(), easting(), ossimDatum::ellipsoid(), ossimEllipsoid::flattening(), hemisphere(), ossimGpt::latr(), ossimGpt::lonr(), northing(), Set_UTM_Parameters(), theDatum, and zone().
|
inline |
|
inline |
return the easting value in meters.
Definition at line 55 of file ossimUtmpt.h.
Referenced by convertToGround().
|
inline |
Return the hemisphere ( Northern or Southern).
We store this as a char value N or S. We store it like this because we are interfacing to geotrans and geotrans stores their values in this manner.
Definition at line 50 of file ossimUtmpt.h.
Referenced by convertToGround().
|
inline |
return the northing value in meters.
Definition at line 60 of file ossimUtmpt.h.
Referenced by convertToGround().
|
inline |
Return the zone for this utm point.
Definition at line 42 of file ossimUtmpt.h.
Referenced by convertToGround().
|
private |
Definition at line 86 of file ossimUtmpt.h.
Referenced by convertFromGround(), and convertToGround().
|
private |
Definition at line 84 of file ossimUtmpt.h.
Referenced by convertFromGround().
|
private |
Definition at line 83 of file ossimUtmpt.h.
Referenced by convertFromGround().
|
private |
Definition at line 85 of file ossimUtmpt.h.
Referenced by convertFromGround().
|
private |
Definition at line 82 of file ossimUtmpt.h.
Referenced by convertFromGround().