21#include <CD_NamespaceHeader.H>
39 RealBox(
const RealVect& a_lo,
const RealVect& a_hi);
48 RealBox(
const Box& a_box,
const RealVect& a_origin,
const Real a_dx);
113#include <CD_NamespaceFooter.H>
Rectangular box in real space.
Definition CD_RealBox.H:27
bool isBoxInside(const RealBox &a_box) const
Check if a_box is completely inside this box. For this to be true, all the corners of a_box must be c...
Definition CD_RealBox.cpp:125
bool isPointInside(const RealVect &a_point) const
Check if a_point is inside this box.
Definition CD_RealBox.cpp:108
RealVect m_lo
Low corner.
Definition CD_RealBox.H:105
Vector< RealVect > getCorners() const
Get all the corners of this box (4 in 2D, 8 in 3D);.
Definition CD_RealBox.cpp:49
RealVect getHi() const
Get high corner.
Definition CD_RealBox.cpp:43
RealBox()
Default constructor. Must subsequently set the corners.
Definition CD_RealBox.cpp:20
RealVect m_hi
High corner.
Definition CD_RealBox.H:110
~RealBox()=default
Destructor (does nothing)
RealVect getLo() const
Get low corner.
Definition CD_RealBox.cpp:37
bool intersect(const RealBox &a_box) const
Check if a_box intersects this box. This is done by checking if.
Definition CD_RealBox.cpp:76