35 const word callerName,
42 const plane& pln = *
this;
49 <<
" : Plane "<< pln <<
" does not intersect the bounds " 59 <<
" : Plane "<< pln <<
" does not intersect the mesh bounds " 69 const boundBox& userBounds,
70 const wordRes& zoneNames,
71 const word callerName,
77 bitSet cellsToSelect =
80 mesh, userBounds, zoneNames, meshBounds
85 checkOverlap(callerName, meshBounds, userBounds);
constexpr char nl
The newline '\n' character (0x0a)
static bitSet cellSelection(const polyMesh &mesh, const boundBox &userBounds, const wordRes &zoneNames, boundBox &meshBounds)
Define cell selection from bounding-box and zones.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A bounding box defined in terms of min/max extrema points.
Geometric class that creates a 3D plane and can return the intersection point between a line and the ...
bool intersects(const plane &pln) const
Does plane intersect this bounding box.
static void checkOverlap(const word callerName, const boundBox &meshBounds, const boundBox &userBounds)
Check and warn if bounding boxes do not intersect.
A class for handling words, derived from Foam::string.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
#define WarningInFunction
Report a warning using Foam::Warning.
bool good() const
Bounding box is non-inverted.
bitSet cellSelection(const polyMesh &mesh, const boundBox &userBounds, const wordRes &zoneNames, const word callerName, const bool warn) const
Define cell selection from bounding-box and zones.
void checkOverlap(const word callerName, const boundBox &meshBounds, const boundBox &userBounds) const
Check and warn if bounding boxes do not intersect, and if the plane does not intersect the bounding b...