valSPH
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Position.h
Go to the documentation of this file.
1
10
#ifndef __Position_h__
11
#define __Position_h__
12
13
14
#include <vector>
15
16
17
using namespace
std;
18
19
20
class
Position
{
21
22
23
private
:
24
25
26
vector<double> q;
27
28
29
public
:
30
31
35
Position
();
36
37
41
Position
(
int
n);
42
43
49
Position
(vector<double> q);
50
51
57
int
getDim ();
58
59
65
void
setDim (
int
n);
66
67
73
double
getQi (
int
i);
74
75
82
void
setQi (
int
i,
double
qi);
83
84
90
double
distance (
Position
q);
91
92
96
~
Position
();
97
98
99
};
100
101
102
#endif
valCode
repository
valSPH
src
Position.h
Generated on Fri Nov 23 2012 19:13:58 for valSPH by
1.8.2