Flow123d
release_2.2.0-914-gf1a3a4f
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
mesh
ngh
include
vertex.h
Go to the documentation of this file.
1
/*!
2
*
3
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4
*
5
* This program is free software; you can redistribute it and/or modify it under
6
* the terms of the GNU General Public License version 3 as published by the
7
* Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
*
13
*
14
* @file vertex.h
15
* @brief
16
*/
17
18
#ifndef vertexH
19
#define vertexH
20
21
#include "
point.h
"
22
23
namespace
ngh
{
24
25
class
TVertex
{
26
private
:
27
static
int
numberInstance
;
28
int
id
;
29
30
TPoint
*
X
;
31
32
int
generateId
();
33
34
public
:
35
TVertex
(
const
TPoint
&);
36
~TVertex
();
37
38
TPoint
GetPoint
()
const
;
39
40
static
int
getNumInstances
() {
41
return
TVertex::numberInstance
;
42
}
43
};
44
45
}
// namespace ngh
46
47
#endif
48
ngh::TVertex::numberInstance
static int numberInstance
Definition:
vertex.h:27
ngh::TVertex::getNumInstances
static int getNumInstances()
Definition:
vertex.h:40
ngh
Definition:
abscissa.h:25
point.h
ngh::TVertex::X
TPoint * X
Definition:
vertex.h:30
ngh::TVertex
Definition:
vertex.h:25
ngh::TVertex::TVertex
TVertex(const TPoint &)
Definition:
vertex.cpp:29
ngh::TPoint
Definition:
point.h:29
ngh::TVertex::~TVertex
~TVertex()
Definition:
vertex.cpp:35
ngh::TVertex::id
int id
Definition:
vertex.h:28
ngh::TVertex::generateId
int generateId()
Definition:
vertex.cpp:25
ngh::TVertex::GetPoint
TPoint GetPoint() const
Definition:
vertex.cpp:39
Generated by
1.8.11