Class PartitioningBoxes stores a set of bounding boxes and can check if a point is in the set of partitioning boxes or not in a more optimized way than just looping over a std::vector<PartitioningBox>.
More...
#include </home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/PartitioningBox.h>
Class PartitioningBoxes stores a set of bounding boxes and can check if a point is in the set of partitioning boxes or not in a more optimized way than just looping over a std::vector<PartitioningBox>.
It is possible for the set of bounding boxes to be empty: in that case the bounds are [oo, oo) in each dimension.
◆ PartitioningBoxes() [1/2]
IBTK::PartitioningBoxes::PartitioningBoxes |
( |
| ) |
|
|
default |
Default constructor: an empty collection of partitioning boxes with bounds at oo.
◆ PartitioningBoxes() [2/2]
Constructor. Uses the finest level boxes on the provided PatchHierarchy to create a set of bounding boxes.
◆ bottom()
const Point & IBTK::PartitioningBoxes::bottom |
( |
| ) |
const |
|
inline |
Get the bottom left corner of the partitioning box bounding all other partitioning boxes.
◆ contains()
bool IBTK::PartitioningBoxes::contains |
( |
const Point & |
point | ) |
const |
|
inline |
Return true if the point is inside the set of boxes and false otherwise.
◆ end()
Return a pointer to one past the end of the end of the partitioning box array.
◆ top()
const Point & IBTK::PartitioningBoxes::top |
( |
| ) |
const |
|
inline |
Get the top right corner of the partitioning box bounding all other partitioning boxes. Note that this point is not in the collection of boxes.
The documentation for this class was generated from the following files:
- /home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/PartitioningBox.h
- /home/runner/work/IBAMR/IBAMR/ibtk/include/ibtk/private/PartitioningBox-inl.h
- /home/runner/work/IBAMR/IBAMR/ibtk/src/utilities/PartitioningBox.cpp