gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <SOrientedBoundingBox.h>
Public Member Functions | |
SOrientedBoundingBox () | |
SOrientedBoundingBox (SVector3 ¢er, double sizeX, double sizeY, double sizeZ, const SVector3 &axisX, const SVector3 &axisY, const SVector3 &axisZ) | |
SOrientedBoundingBox (SOrientedBoundingBox *other) | |
const SVector3 & | getCenter () const |
double | getCenterX () const |
double | getCenterY () const |
double | getCenterZ () const |
SVector3 | getSize () const |
double | getMaxSize () const |
double | getMinSize () const |
SVector3 | getAxis (int axis) const |
valid values for axis are 0 (X-axis), 1 (Y-axis) or 2 (Z-axis) More... | |
bool | intersects (SOrientedBoundingBox &obb) const |
Static Public Member Functions | |
static SOrientedBoundingBox * | buildOBB (std::vector< SPoint3 > &vertices) |
static double | compare (SOrientedBoundingBox &obb1, SOrientedBoundingBox &obb2) |
Public Attributes | |
double | p1x |
double | p1y |
double | p1z |
double | p2x |
double | p2y |
double | p2z |
double | p3x |
double | p3y |
double | p3z |
double | p4x |
double | p4y |
double | p4z |
double | p5x |
double | p5y |
double | p5z |
double | p6x |
double | p6y |
double | p6z |
double | p7x |
double | p7y |
double | p7z |
double | p8x |
double | p8y |
double | p8z |
Private Member Functions | |
void | fillp () |
Private Attributes | |
SVector3 | center |
SVector3 | size |
SVector3 | axisX |
SVector3 | axisY |
SVector3 | axisZ |
Definition at line 33 of file SOrientedBoundingBox.h.
SOrientedBoundingBox::SOrientedBoundingBox | ( | ) |
Definition at line 71 of file SOrientedBoundingBox.cpp.
Referenced by buildOBB().
SOrientedBoundingBox::SOrientedBoundingBox | ( | SOrientedBoundingBox * | other | ) |
|
static |
Definition at line 150 of file SOrientedBoundingBox.cpp.
Referenced by GRegion::getOBB(), GEdge::getOBB(), and GFace::getOBB().
|
static |
Definition at line 553 of file SOrientedBoundingBox.cpp.
Referenced by GeomMeshMatcher::matchEdges(), GeomMeshMatcher::matchFaces(), and GeomMeshMatcher::matchRegions().
|
private |
Definition at line 32 of file SOrientedBoundingBox.cpp.
Referenced by SOrientedBoundingBox().
SVector3 SOrientedBoundingBox::getAxis | ( | int | axis | ) | const |
valid values for axis are 0 (X-axis), 1 (Y-axis) or 2 (Z-axis)
Definition at line 108 of file SOrientedBoundingBox.cpp.
Referenced by compare(), intersects(), and SOrientedBoundingBox().
|
inline |
Definition at line 47 of file SOrientedBoundingBox.h.
Referenced by compare(), intersects(), and SOrientedBoundingBox().
|
inline |
Definition at line 48 of file SOrientedBoundingBox.h.
|
inline |
Definition at line 49 of file SOrientedBoundingBox.h.
|
inline |
Definition at line 50 of file SOrientedBoundingBox.h.
|
inline |
Definition at line 53 of file SOrientedBoundingBox.h.
|
inline |
Definition at line 58 of file SOrientedBoundingBox.h.
|
inline |
Definition at line 51 of file SOrientedBoundingBox.h.
Referenced by compare(), intersects(), and SOrientedBoundingBox().
bool SOrientedBoundingBox::intersects | ( | SOrientedBoundingBox & | obb | ) | const |
|
private |
Definition at line 88 of file SOrientedBoundingBox.h.
Referenced by fillp(), getAxis(), and SOrientedBoundingBox().
|
private |
Definition at line 89 of file SOrientedBoundingBox.h.
Referenced by fillp(), getAxis(), and SOrientedBoundingBox().
|
private |
Definition at line 90 of file SOrientedBoundingBox.h.
Referenced by fillp(), getAxis(), and SOrientedBoundingBox().
|
private |
Definition at line 86 of file SOrientedBoundingBox.h.
Referenced by buildOBB(), fillp(), getCenter(), getCenterX(), getCenterY(), getCenterZ(), and SOrientedBoundingBox().
double SOrientedBoundingBox::p1x |
Definition at line 73 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p1y |
Definition at line 73 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p1z |
Definition at line 73 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p2x |
Definition at line 74 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p2y |
Definition at line 74 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p2z |
Definition at line 74 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p3x |
Definition at line 75 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p3y |
Definition at line 75 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p3z |
Definition at line 75 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p4x |
Definition at line 76 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p4y |
Definition at line 76 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p4z |
Definition at line 76 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p5x |
Definition at line 77 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p5y |
Definition at line 77 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p5z |
Definition at line 77 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p6x |
Definition at line 78 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p6y |
Definition at line 78 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p6z |
Definition at line 78 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p7x |
Definition at line 79 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p7y |
Definition at line 79 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p7z |
Definition at line 79 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p8x |
Definition at line 80 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p8y |
Definition at line 80 of file SOrientedBoundingBox.h.
Referenced by fillp().
double SOrientedBoundingBox::p8z |
Definition at line 80 of file SOrientedBoundingBox.h.
Referenced by fillp().
|
private |
Definition at line 87 of file SOrientedBoundingBox.h.
Referenced by buildOBB(), fillp(), getMaxSize(), getMinSize(), getSize(), and SOrientedBoundingBox().