Jamoma API  0.6.0.a19
Coordinate.h
1 // Coordinate.h
2 /***************************************************/
3 /*! \class Coordinate
4  \brief Coordinate class
5 
6  This class implements a 1d coordinate.
7 
8  by Tristan Matthews and Nils Peters, 2007-2008.
9  */
10 /***************************************************/
11 
12 #ifndef _COORDINATE_H_
13 #define _COORDINATE_H_
14 
15 class Coordinate {
16  private:
17  double coord_, min_, max_;
18  public:
19  //! Default class constructor.
20  Coordinate();
21  //! Class constructor which takes a coordinate value.
22  Coordinate(double nCoord);
23 
24  //! Get.
25  double operator ()() const;
26  //! Set.
27  void operator () (double nCoord);
28 
29  //! Class destructor.
31 };
32 
33 #endif
34 // vim:sw=4:et:cindent:
Coordinate()
Default class constructor.
Definition: Coordinate.cpp:15
~Coordinate()
Class destructor.
Definition: Coordinate.h:30
double operator()() const
Get.
Definition: Coordinate.cpp:32
Coordinate class.
Definition: Coordinate.h:15