OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimNadconGridFile.h
Go to the documentation of this file.
1 //**************************************************************************
2 // Copyright (C) 2003 Storage Area Networks, Inc.
3 //
4 // Written by: Kenneth Melero <kmelero@sanz.com>
5 //
6 //**************************************************************************
7 
8 #ifndef ossimNadconGridFile_HEADER
9 #define ossimNadconGridFile_HEADER 1
12 #include <fstream>
13 
15 {
16 public:
17  ossimNadconGridFile() : theFileOkFlag(false) {}
19  bool open(const ossimFilename& file);
20  void close();
21 
24  double getShiftAtLatLon(double lat, double lon)const;
25  bool pointWithin(double lat, double lon)const;
27  {
28  return theBoundingRect;
29  }
30 
31  const ossimFilename& getFilename()const
32  {
33  return theFilename;
34  }
35  bool getFileOkFlag()const
36  {
37  return theFileOkFlag;
38  }
40  {
41  return theHeader.getSpacing();
42  }
43 
44 protected:
46  mutable bool theFileOkFlag;
51 
52 };
53 
54 #endif
std::basic_ifstream< char > ifstream
Class for char input file streams.
Definition: ossimIosFwd.h:44
ossimNadconGridHeader theHeader
const ossimFilename & getFilename() const
const ossimDrect getBoundingRect() const
ossimDpt getSpacing() const
#define OSSIM_DLL
std::ifstream theInputFile