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