42 #ifndef cuttingPlane_H 43 #define cuttingPlane_H 102 const label startEdgeI,
129 const bool triangulate,
147 const bool triangulate,
157 return static_cast<const plane&
>(*this);
169 return cutCells_.
size();
void reCut(const primitiveMesh &, const bool triangulate, const labelUList &cellIdLabels=labelUList::null())
Recut mesh with existing planeDesc, restricted to a list of cells.
Cell-face mesh analysis engine.
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
void size(const label)
Override size to be inconsistent with allocated storage.
Geometric class that creates a 2D plane and can return the intersection point between a line and the ...
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
Cutting plane sampling functionality.
Constructs plane through mesh.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
virtual void remapFaces(const labelUList &faceMap)
Remap action on triangulation or cleanup.
virtual label triangulate()
Triangulate in-place, returning the number of triangles added.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
static const UList< T > & null()
Return a null UList.
bool cut() const
Return true or false to question: have any cells been cut?
const labelList & cutCells() const
Return List of cells cut by the plane.
cuttingPlane(const plane &)
Construct plane description without cutting.
const plane & planeDesc() const
Return plane used.
A class for managing temporary objects.
tmp< Field< Type > > sample(const Field< Type > &) const
Sample the cell field.