Go to the documentation of this file.
48 "\n Usage: boxToPoint ((minx miny minz) (maxx maxy maxz))\n\n"
49 " Select all points with coordinate within bounding box\n\n"
63 if (
bbs_[i].contains(pts[pointI]))
131 Info<<
" Adding points that are within boxes " << bbs_ <<
" ..."
138 Info<<
" Removing points that are within boxes " << bbs_ <<
" ..."
virtual const pointField & points() const
Return raw points.
boxToPoint(const polyMesh &mesh, const treeBoundBoxList &bb)
Construct from components.
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
AccessType combine(const List< T > &, AccessOp aop=accessOp< T >())
Combines sublists into one big list.
Class with constructor to add usage string to table.
Standard boundBox + extra functionality for use in octree.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
setAction
Enumeration defining the valid actions.
Mesh consisting of general polyhedral cells.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Pre-declare SubField and related Field type.
static addToUsageTable usage_
Add usage string.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
General set of labels of mesh quantity (points, cells, faces).
void combine(topoSet &set, const bool add) const
A list of keyword definitions, which are a keyword followed by any number of values (e....
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
treeBoundBoxList bbs_
Bounding box.
Macros for easy insertion into run-time selection tables.
Base class of a source for a topoSet.
defineTypeNameAndDebug(combustionModel, 0)
void addOrDelete(topoSet &set, const label cellI, const bool) const
Add (if bool) cellI to set or delete cellI from set.
virtual ~boxToPoint()
Destructor.