Ilwis-Objects  1.0
GIS and Remote Sensing framework for data access and processing
 All Classes Functions Enumerations Pages
controlpoint.h
1 #ifndef CONTROLPOINT_H
2 #define CONTROLPOINT_H
3 
4 namespace Ilwis {
5 class KERNELSHARED_EXPORT ControlPoint : public Coordinate{
6 public:
7  ControlPoint(bool invalid=false);
8  ControlPoint(const Coordinate& crd, const Pixel& pix);
9  ControlPoint(const Coordinate& crd, const Pixeld& pix );
10  ControlPoint(const Coordinate& crd, const LatLon& ll);
11 
12  LatLon llLocation() const;
13  void llLocation(const LatLon& ll);
14  Pixeld gridLocation() const;
15  void gridLocation(const Pixeld& pix);
16  bool isActive() const;
17  void active(bool yesno);
18  bool isValid() const;
19 private:
20  Pixeld _gridLocation;
21  LatLon _llLocation;
22  bool _active;
23  bool _neverValid;
24 };
25 }
26 
27 #endif // CONTROLPOINT_H