Flow123d
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
mesh
ngh
src
vertex.cpp
Go to the documentation of this file.
1
#include "
mesh/ngh/include/vertex.h
"
2
#include "
mesh/ngh/include/myvector.h
"
3
4
int
TVertex::numberInstance
= 0;
5
6
int
TVertex::generateId
() {
7
return
TVertex::numberInstance
++;
8
}
9
10
TVertex::TVertex
(
const
TPoint
& PP) {
11
id
=
generateId
();
12
13
X
=
new
TPoint
(PP);
14
}
15
16
TVertex::~TVertex
() {
17
delete
X
;
18
}
19
20
TPoint
TVertex::GetPoint
()
const
{
21
TPoint
tmp;
22
tmp = *
X
;
23
return
tmp;
24
}
Generated on Thu May 29 2014 23:14:49 for Flow123d by
1.8.4