OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimUtmpt.h
Go to the documentation of this file.
1 //*******************************************************************
2 // Copyright (C) 2000 ImageLinks Inc.
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // Author: Garrett Potts
9 //
10 // Description:
11 //
12 // This is the Universal Transverse Mercator (UTM) point. Allows
13 // easy onversion between different coordinates.
14 //*******************************************************************
15 // $Id: ossimUtmpt.h 9094 2006-06-13 19:12:40Z dburken $
16 #ifndef ossimUtmpt_HEADER
17 #define ossimUtmpt_HEADER
18 
20 
21 class ossimGpt;
22 class ossimEcefPoint;
23 class ossimUpspt;
24 class ossimDatum;
25 
27 {
28 public:
29  ossimUtmpt(const ossimGpt &aPt);
30  ossimUtmpt(const ossimEcefPoint &aPt);
31  ossimUtmpt(long zone,
32  char hemisphere, // N or S
33  double easting,
34  double northing,
35  const ossimDatum* datum);
36 
37  // ossimUtmpt(const ossimUpspt &aPt);
38 
42  ossim_int32 zone() const { return theZone; }
43 
50  char hemisphere() const { return theHemisphere; }
51 
55  double easting() const { return theEasting; }
56 
60  double northing() const { return theNorthing; }
61 
65  const ossimDatum* datum() const { return theDatum; }
66 
72  void convertFromGround(const ossimGpt &aPt);
73 
79  void convertToGround(ossimGpt &aPt);
80 
81 private:
82  long theZone;
84  double theEasting;
85  double theNorthing;
87 };
88 
89 #endif
const ossimDatum * datum() const
return the reference datum for this point.
Definition: ossimUtmpt.h:65
#define OSSIMDLLEXPORT
const ossimDatum * theDatum
Definition: ossimUtmpt.h:86
double theEasting
Definition: ossimUtmpt.h:84
double theNorthing
Definition: ossimUtmpt.h:85
ossim_int32 zone() const
Return the zone for this utm point.
Definition: ossimUtmpt.h:42
char theHemisphere
Definition: ossimUtmpt.h:83
long theZone
Definition: ossimUtmpt.h:82
double northing() const
return the northing value in meters.
Definition: ossimUtmpt.h:60
double easting() const
return the easting value in meters.
Definition: ossimUtmpt.h:55
char hemisphere() const
Return the hemisphere ( Northern or Southern).
Definition: ossimUtmpt.h:50
int ossim_int32