Flow123d  release_2.2.0-34-g18a8075
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 class TVertex {
24 private:
25  static int numberInstance;
26  int id;
27 
29 
30  int generateId();
31 
32 public:
33  TVertex(const TPoint&);
34  ~TVertex();
35 
36  TPoint GetPoint() const;
37 
38  static int getNumInstances() {
40  }
41 };
42 
43 #endif
44 
TVertex(const TPoint &)
Definition: vertex.cpp:27
static int numberInstance
Definition: vertex.h:25
~TVertex()
Definition: vertex.cpp:33
int id
Definition: vertex.h:26
TPoint GetPoint() const
Definition: vertex.cpp:37
TPoint * X
Definition: vertex.h:28
Definition: point.h:27
static int getNumInstances()
Definition: vertex.h:38
int generateId()
Definition: vertex.cpp:23
Definition: vertex.h:23