gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
SBoundingBox3d Class Reference

#include <SBoundingBox3d.h>

Collaboration diagram for SBoundingBox3d:

Public Member Functions

 SBoundingBox3d ()
 
 SBoundingBox3d (const SPoint3 &pt)
 
 SBoundingBox3d (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax)
 
bool empty ()
 
void reset ()
 
void operator+= (const SPoint3 &pt)
 
void operator+= (const SBoundingBox3d &box)
 
void operator*= (double scale)
 
void scale (double sx, double sy, double sz)
 
SPoint3 min () const
 
SPoint3 max () const
 
SPoint3 center () const
 
double diag () const
 
void makeCube ()
 
void thicken (double factor)
 
bool contains (const SBoundingBox3d &bound)
 
bool contains (const SPoint3 &p)
 
bool contains (double x, double y, double z)
 
bool transform (const std::vector< double > &tfo)
 

Private Attributes

SPoint3 MinPt
 
SPoint3 MaxPt
 

Detailed Description

Definition at line 21 of file SBoundingBox3d.h.

Constructor & Destructor Documentation

◆ SBoundingBox3d() [1/3]

SBoundingBox3d::SBoundingBox3d ( )
inline

Definition at line 26 of file SBoundingBox3d.h.

◆ SBoundingBox3d() [2/3]

SBoundingBox3d::SBoundingBox3d ( const SPoint3 pt)
inline

Definition at line 30 of file SBoundingBox3d.h.

◆ SBoundingBox3d() [3/3]

SBoundingBox3d::SBoundingBox3d ( double  xmin,
double  ymin,
double  zmin,
double  xmax,
double  ymax,
double  zmax 
)
inline

Definition at line 31 of file SBoundingBox3d.h.

Member Function Documentation

◆ center()

◆ contains() [1/3]

bool SBoundingBox3d::contains ( const SBoundingBox3d bound)
inline

Definition at line 110 of file SBoundingBox3d.h.

Here is the call graph for this function:

◆ contains() [2/3]

bool SBoundingBox3d::contains ( const SPoint3 p)
inline

Definition at line 118 of file SBoundingBox3d.h.

Here is the call graph for this function:

◆ contains() [3/3]

bool SBoundingBox3d::contains ( double  x,
double  y,
double  z 
)
inline

Definition at line 125 of file SBoundingBox3d.h.

Here is the call graph for this function:

◆ diag()

double SBoundingBox3d::diag ( ) const
inline

Definition at line 93 of file SBoundingBox3d.h.

Referenced by discreteFace::param::checkPlanar(), initialCube(), GFace::setMeshMaster(), thicken(), and PView::writeX3D().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ empty()

◆ makeCube()

void SBoundingBox3d::makeCube ( )
inline

Definition at line 94 of file SBoundingBox3d.h.

Referenced by meshGenerator(), meshGeneratorPeriodic(), and minmax().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ max()

◆ min()

◆ operator*=()

void SBoundingBox3d::operator*= ( double  scale)
inline

Definition at line 66 of file SBoundingBox3d.h.

Here is the call graph for this function:

◆ operator+=() [1/2]

void SBoundingBox3d::operator+= ( const SBoundingBox3d box)
inline

Definition at line 61 of file SBoundingBox3d.h.

◆ operator+=() [2/2]

void SBoundingBox3d::operator+= ( const SPoint3 pt)
inline

Definition at line 48 of file SBoundingBox3d.h.

◆ reset()

void SBoundingBox3d::reset ( )
inline

Definition at line 43 of file SBoundingBox3d.h.

Referenced by addElementsInArrays(), PViewDataList::finalize(), and ResetTemporaryBoundingBox().

Here is the caller graph for this function:

◆ scale()

void SBoundingBox3d::scale ( double  sx,
double  sy,
double  sz 
)
inline

Definition at line 76 of file SBoundingBox3d.h.

Referenced by makeCube(), and operator*=().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ thicken()

void SBoundingBox3d::thicken ( double  factor)
inline

Definition at line 103 of file SBoundingBox3d.h.

Referenced by OctreePost::_create(), MElementBB(), MElementOctree::MElementOctree(), and minmax().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ transform()

bool SBoundingBox3d::transform ( const std::vector< double > &  tfo)
inline

Definition at line 132 of file SBoundingBox3d.h.

Referenced by GFace::setMeshMaster().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ MaxPt

SPoint3 SBoundingBox3d::MaxPt
private

◆ MinPt

SPoint3 SBoundingBox3d::MinPt
private

The documentation for this class was generated from the following file: