Flow123d
jenkins-Flow123d-linux-release-multijob-198
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
}
TVertex::TVertex
TVertex(const TPoint &)
Definition:
vertex.cpp:10
TVertex::numberInstance
static int numberInstance
Definition:
vertex.h:8
myvector.h
TVertex::~TVertex
~TVertex()
Definition:
vertex.cpp:16
TVertex::GetPoint
TPoint GetPoint() const
Definition:
vertex.cpp:20
TVertex::X
TPoint * X
Definition:
vertex.h:11
TPoint
Definition:
point.h:10
vertex.h
TVertex::generateId
int generateId()
Definition:
vertex.cpp:6
Generated by
1.8.5