gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
21 inline double x()
const {
return X; }
22 inline double y()
const {
return Y; }
23 inline double z()
const {
return Z; }
24 inline double &
x() {
return X; }
25 inline double &
y() {
return Y; }
26 inline double &
z() {
return Z; }
27 inline double u()
const {
return par[0]; }
28 inline double v()
const {
return par[1]; }
30 GPoint(
double _x = 0,
double _y = 0,
double _z = 0,
31 const GEntity *onwhat =
nullptr)
37 GPoint(
double _x,
double _y,
double _z,
const GEntity *onwhat,
double p)
43 GPoint(
double _x,
double _y,
double _z,
const GEntity *onwhat,
double p[2])
49 GPoint(
double _x,
double _y,
double _z,
const GEntity *onwhat,
double p1,
58 double dx =
X - p.
x();
59 double dy =
Y - p.
y();
60 double dz =
Z - p.
z();
61 return sqrt(dx * dx + dy * dy + dz * dz);
GPoint(double _x, double _y, double _z, const GEntity *onwhat, double p)
GPoint(double _x=0, double _y=0, double _z=0, const GEntity *onwhat=nullptr)
GPoint(double _x, double _y, double _z, const GEntity *onwhat, double p[2])
GPoint(double _x, double _y, double _z, const GEntity *onwhat, double p1, double p2)
const GEntity * g() const
double distance(GPoint &p)