42 #ifndef cuttingPlane_H 43 #define cuttingPlane_H 101 const label startEdgeI,
127 const bool triangulate,
145 const bool triangulate,
155 return static_cast<const plane&
>(*this);
167 return cutCells_.
size();
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void reCut(const primitiveMesh &, const bool triangulate, const labelUList &cellIdLabels=labelUList::null())
Recut mesh with existing planeDesc, restricted to a list of cells.
const labelList & cutCells() const
Return List of cells cut by the plane.
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.
bool cut() const
Return true or false to question: have any cells been cut?
const plane & planeDesc() const
Return plane used.
void operator=(const cuttingPlane &)
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.
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.
tmp< Field< Type > > sample(const Field< Type > &) const
Sample the cell field.
cuttingPlane(const plane &)
Construct plane description without cutting.
A class for managing temporary objects.