gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
6 #ifndef SBOUNDING_BOX_3D_H
7 #define SBOUNDING_BOX_3D_H
27 :
MinPt(DBL_MAX, DBL_MAX, DBL_MAX),
MaxPt(-DBL_MAX, -DBL_MAX, -DBL_MAX)
32 double ymax,
double zmax)
33 :
MinPt(xmin, ymin, zmin),
MaxPt(xmax, ymax, zmax)
76 void scale(
double sx,
double sy,
double sz)
100 double sc = len.
norm() * 0.5;
105 double d = factor *
diag();
134 if(tfo.size() != 16)
return false;
SBoundingBox3d(double xmin, double ymin, double zmin, double xmax, double ymax, double zmax)
void thicken(double factor)
void operator*=(double scale)
void operator+=(const SBoundingBox3d &box)
bool contains(const SPoint3 &p)
bool contains(const SBoundingBox3d &bound)
void operator+=(const SPoint3 &pt)
double distance(const SPoint3 &p) const
bool transform(const std::vector< double > &tfo)
bool contains(double x, double y, double z)
void scale(double sx, double sy, double sz)
SBoundingBox3d(const SPoint3 &pt)
bool transform(const std::vector< double > &tfo)