gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
10 #ifndef ORIENTED_BOUNDING_BOX_H
11 #define ORIENTED_BOUNDING_BOX_H
28 std::array<double, 2>
size;
double getCenterX() const
std::array< double, 2 > center
double getCenterZ() const
std::array< double, 2 > size
double getMaxSize() const
double getMinSize() const
std::array< double, 2 > axisX
bool intersects(SOrientedBoundingBox &obb) const
const SVector3 & getCenter() const
double getCenterY() const
SOrientedBoundingRectangle()
std::array< double, 2 > axisY
static double compare(SOrientedBoundingBox &obb1, SOrientedBoundingBox &obb2)
static SOrientedBoundingBox * buildOBB(std::vector< SPoint3 > &vertices)
SVector3 getAxis(int axis) const
valid values for axis are 0 (X-axis), 1 (Y-axis) or 2 (Z-axis)