42 const bool triangulate,
56 const bool triangulate,
70 const bool triangulate,
85 const bool triangulate,
89 const plane& pln = *
this;
108 const label nFaceCuts = calcCellCuts(
mesh, sides, cellCuts);
116 const auto edgeOrientIntersect =
119 if (sides[
e.last()] < sides[
e.first()])
129 const auto edgeAlphaIntersect =
130 [=](
const edge&
e) -> scalar
156 static_cast<Mesh&
>(*this) =
rhs;
157 static_cast<plane&
>(*this) =
rhs;
158 meshCells_ =
rhs.meshCells();
virtual label triangulate()
A dynamic list of packed unsigned integers, with the number of bits per item specified by the <Width>...
T & first()
Access first element of the list, position [0].
T & last()
Access last element of the list, position [size()-1].
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
Description of cuts across cells.
Constructs cutting plane through a mesh.
virtual void performCut(const primitiveMesh &mesh, const bool triangulate, bitSet &&cellIdLabels)
Cut mesh, restricted to a list of cells.
cuttingPlane(const plane &pln)
Construct from a plane description without any cutting.
void operator=(const cuttingPlane &rhs)
Copy assignment.
void walkCellCuts(const primitiveMesh &mesh, const bitSet &cellCuts, const EdgeOrientIntersect &edgeOrientIntersect, const EdgeAlphaIntersect &edgeAlphaIntersect, const bool triangulate, label nFaceCuts=0)
Walk cell cuts to create faces.
labelList meshCells_
List of the cells cut.
meshedSurface Mesh
Typedef for convenience.
An edge is a list of two vertex labels. This can correspond to a directed graph edge or an edge on a ...
Geometric class that creates a 3D plane and can return the intersection point between a line and the ...
plane()
Construct zero-initialised.
scalar lineIntersect(const line< PointType, PointRef > &l) const
Return the cutting point between the plane and a line passing through the supplied points.
Cell-face mesh analysis engine.
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.