OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimGeoidNgsHeader.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts (gpotts@imagelinks.com)
6 //
7 // Description:
8 //
9 //*******************************************************************
10 // $Id: ossimGeoidNgsHeader.h 23353 2015-06-01 19:19:10Z dburken $
11 #ifndef ossimGeoidNgsHeader_HEADER
12 #define ossimGeoidNgsHeader_HEADER 1
14 #include <iostream>
15 
17 {
18 public:
20 
22  ossimGeoidNgsHeader(const ossimFilename &fileName,
24 
25  bool initialize(const ossimFilename &fileName,
27 
28  double southernMostLat()const{return theSouthernMostLatitude;}
29  double westernMostLon()const{return theWesternMostLongitude;}
30  double latDelta()const{return theLatDelta;}
31  double lonDelta()const{return theLonDelta;}
32  int rows()const{return theRows;}
33  int cols()const{return theCols;}
34  int dataType()const{return theDataType;}
35  bool pointWithin(double lat, double lon)const;
36  const ossimFilename& filename()const{return theFilename;}
37 
38  int headerSize()const{return 44;}
39  int dataTypeSize()const{return theDataType==1?4:0;}
40 
42  double getHeightDelta(double lat, double lon)const;
43 
44 private:
48 
55 
59  double theLatDelta;
60 
64  double theLonDelta;
65 
69  int theRows;
70 
74  int theCols;
75 
81 };
82 
83 #endif
const ossimFilename & filename() const
OSSIM_DLL ossimByteOrder byteOrder()
Definition: ossimCommon.cpp:54
double southernMostLat() const
ostream & operator<<(ostream &out, const ossimAxes &axes)
Definition: ossimAxes.h:88
ossimByteOrder
double westernMostLon() const
#define OSSIM_DLL
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
ossimByteOrder theByteOrder