gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
discreteVertex.h
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 
6 #ifndef DISCRETE_VERTEX_H
7 #define DISCRETE_VERTEX_H
8 
9 #include "GModel.h"
10 #include "GVertex.h"
11 #include "MVertex.h"
12 
13 class Vertex;
14 
15 class discreteVertex : public GVertex {
16 private:
18 
19 public:
20  discreteVertex(GModel *m, int num, double x = 0., double y = 0.,
21  double z = 0.);
23  virtual ~discreteVertex();
24  virtual GPoint point() const;
25  virtual double x() const;
26  virtual double y() const;
27  virtual double z() const;
28  virtual void setPosition(GPoint &p);
29 };
30 
31 #endif
discreteVertex::discreteVertex
discreteVertex(GModel *m, int num, double x=0., double y=0., double z=0.)
Definition: discreteVertex.cpp:14
Vertex
Definition: Geo.h:29
discreteVertex::x
virtual double x() const
Definition: discreteVertex.cpp:45
discreteVertex::point
virtual GPoint point() const
Definition: discreteVertex.cpp:29
discreteVertex::~discreteVertex
virtual ~discreteVertex()
Definition: discreteVertex.cpp:27
discreteVertex::y
virtual double y() const
Definition: discreteVertex.cpp:53
GPoint
Definition: GPoint.h:13
discreteVertex::setPosition
virtual void setPosition(GPoint &p)
Definition: discreteVertex.cpp:31
discreteVertex
Definition: discreteVertex.h:15
discreteVertex::_v
Vertex * _v
Definition: discreteVertex.h:17
GVertex
Definition: GVertex.h:23
MVertex.h
GModel
Definition: GModel.h:44
discreteVertex::z
virtual double z() const
Definition: discreteVertex.cpp:61
GVertex.h
GModel.h