|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <BoundingBox2D.h>
Public Member Functions | |
| BoundingBox2D () | |
| BoundingBox2D (const BoundingBox2D &right) | |
| BoundingBox2D (const Vector_t &llc, const Vector_t &urc) | |
| BoundingBox2D & | operator= (const BoundingBox2D &)=default |
| bool | doesIntersect (const BoundingBox2D &bb) const |
| bool | isInside (const Vector_t &X) const |
| bool | isInside (const BoundingBox2D &b) const |
| virtual void | writeGnuplot (std::ostream &out) const |
| void | print (std::ostream &out) const |
Public Attributes | |
| Vector_t | center_m |
| double | width_m |
| double | height_m |
Definition at line 30 of file BoundingBox2D.h.
|
inline |
Definition at line 35 of file BoundingBox2D.h.
References center_m, height_m, and width_m.
Referenced by BoundingBox2D(), doesIntersect(), isInside(), and operator=().
|
inline |
Definition at line 41 of file BoundingBox2D.h.
References BoundingBox2D(), center_m, height_m, and width_m.
Definition at line 47 of file BoundingBox2D.h.
| bool mslang::BoundingBox2D::doesIntersect | ( | const BoundingBox2D & | bb | ) | const |
Definition at line 24 of file BoundingBox2D.cpp.
References BoundingBox2D(), center_m, height_m, and width_m.
Referenced by Mesher::isPotentialEdgeIntersected().
| bool mslang::BoundingBox2D::isInside | ( | const BoundingBox2D & | b | ) | const |
Definition at line 39 of file BoundingBox2D.cpp.
References BoundingBox2D(), center_m, height_m, isInside(), and width_m.
| bool mslang::BoundingBox2D::isInside | ( | const Vector_t & | X | ) | const |
Definition at line 31 of file BoundingBox2D.cpp.
References center_m, height_m, width_m, and X.
Referenced by isInside().
|
default |
| void mslang::BoundingBox2D::print | ( | std::ostream & | out | ) | const |
Definition at line 62 of file BoundingBox2D.cpp.
References center_m, height_m, and width_m.
Referenced by mslang::operator<<().
|
virtual |
Definition at line 46 of file BoundingBox2D.cpp.
| Vector_t mslang::BoundingBox2D::center_m |
Definition at line 31 of file BoundingBox2D.h.
Referenced by BoundingBox2D(), BoundingBox2D(), BoundingBox2D(), doesIntersect(), isInside(), isInside(), Mesher::isPotentialEdgeIntersected(), print(), FlexibleCollimator::setDescription(), and writeGnuplot().
| double mslang::BoundingBox2D::height_m |
Definition at line 33 of file BoundingBox2D.h.
Referenced by BoundingBox2D(), BoundingBox2D(), BoundingBox2D(), doesIntersect(), isInside(), isInside(), Mesher::isPotentialEdgeIntersected(), print(), FlexibleCollimator::setDescription(), and writeGnuplot().
| double mslang::BoundingBox2D::width_m |
Definition at line 32 of file BoundingBox2D.h.
Referenced by BoundingBox2D(), BoundingBox2D(), BoundingBox2D(), doesIntersect(), isInside(), isInside(), Mesher::isPotentialEdgeIntersected(), print(), FlexibleCollimator::setDescription(), and writeGnuplot().