OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Coordinate.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
12 #ifndef Coordinate_h
13 #define Coordinate_h
14 
16 
17 namespace ossimplugins
18 {
19 
20 
26 {
27 public:
31  Coordinate();
35  ~Coordinate();
39  Coordinate(double x, double y, double z);
43  Coordinate(const Coordinate& rhs);
44 
48  Coordinate& operator=(const Coordinate& rhs);
49 
50  void set_coordinates(double x, double y, double z);
51 
52  double get_x()
53  {
54  return _x;
55  };
56 
57  double get_y()
58  {
59  return _y;
60  };
61 
62  double get_z()
63  {
64  return _z;
65  };
66 protected:
67  double _x;
68  double _y;
69  double _z;
70 private:
71 };
72 }
73 
74 #endif
ossim_uint32 x
ossim_uint32 y
#define OSSIM_PLUGINS_DLL
This class represents a coordinate.
Definition: Coordinate.h:25