Jamoma API
0.6.0.a19
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
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.
30
~Coordinate
() {};
31
};
32
33
#endif
34
// vim:sw=4:et:cindent:
Coordinate::Coordinate
Coordinate()
Default class constructor.
Definition:
Coordinate.cpp:15
Coordinate::~Coordinate
~Coordinate()
Class destructor.
Definition:
Coordinate.h:30
Coordinate::operator()
double operator()() const
Get.
Definition:
Coordinate.cpp:32
Coordinate
Coordinate class.
Definition:
Coordinate.h:15
Implementations
Max
source
j.vimic~
Coordinate.h
Generated on Wed Aug 26 2015 15:07:17 for Jamoma API by
1.8.10