43 "\n Usage: boxToPoint ((minx miny minz) (maxx maxy maxz))\n\n" 44 " Select all points with coordinate within bounding box\n\n" 50 void Foam::boxToPoint::combine(topoSet&
set,
const bool add)
const 58 if (bbs_[i].contains(pts[pointi]))
60 addOrDelete(
set, pointi, add);
123 Info<<
" Adding points that are within boxes " << bbs_ <<
" ..." 130 Info<<
" Removing points that are within boxes " << bbs_ <<
" ..." List< treeBoundBox > treeBoundBoxList
List of bounding boxes.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
#define forAll(list, i)
Loop across all elements in list.
boxToPoint(const polyMesh &mesh, const treeBoundBoxList &bb)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
AccessType combine(const List< T > &, AccessOp aop=accessOp< T >())
Combines sublists into one big list.
Macros for easy insertion into run-time selection tables.
Base class of a source for a topoSet.
vectorField pointField
pointField is a vectorField.
stressControl lookup("compactNormalStress") >> compactNormalStress
setAction
Enumeration defining the valid actions.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
virtual ~boxToPoint()
Destructor.
defineTypeNameAndDebug(combustionModel, 0)
General set of labels of mesh quantity (points, cells, faces).
Class with constructor to add usage string to table.
Standard boundBox + extra functionality for use in octree.
Mesh consisting of general polyhedral cells.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.