Go to the documentation of this file.
42 const bool triangulate,
48 performCut(
mesh, triangulate, cellIdLabels);
56 const bool triangulate,
62 performCut(
mesh, triangulate, cellIdLabels);
70 const bool triangulate,
76 performCut(
mesh, triangulate, cellIdLabels);
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()])
124 return sides[
e.first()] != sides[
e.last()];
129 const auto edgeAlphaIntersect =
130 [=](
const edge&
e) -> scalar
156 static_cast<Mesh&
>(*this) = rhs;
157 static_cast<plane&
>(*this) = rhs;
virtual const pointField & points() const
Return raw points.
cuttingPlane(const plane &pln)
Construct from a plane description without any cutting.
const labelList & meshCells() const
The mesh cells cut.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
virtual void performCut(const primitiveMesh &mesh, const bool triangulate, bitSet &&cellIdLabels)
Cut mesh, restricted to a list of cells.
Constructs cutting plane through a mesh.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Geometric class that creates a 3D plane and can return the intersection point between a line and the ...
label nCells() const noexcept
Number of mesh cells.
scalar lineIntersect(const line< Point, PointRef > &l) const
Return the cutting point between the plane and.
const dimensionedScalar e
Elementary charge.
void operator=(const cuttingPlane &rhs)
Copy assignment.
Description of cuts across cells.
Cell-face mesh analysis engine.