52#ifndef booleanSurface_H
53#define booleanSurface_H
101 static void checkIncluded
105 const label includedFace
109 static label index(
const labelList& elems,
const label elem);
112 static label findEdge
120 static label findNearest
138 static void propagateEdgeSide
141 const label prevVert0,
142 const label prevFacei,
143 const label prevState,
150 static void propagateSide
153 const label prevState,
195 const label includeFace1,
196 const label includeFace2
207 const label booleanOp
220 bool from1(
const label facei)
const
222 return faceMap_[facei] >= 0;
230 <<
"face " << facei <<
" not from surface 1"
233 return faceMap_[facei];
241 <<
"face " << facei <<
" not from surface 2"
244 return -faceMap_[facei]-1;
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
const edgeList & edges() const
const labelList & faceMap() const
New to old face map. >0: surface 1 face label. <0: surface 2. Negate.
bool surf2Face(const label facei) const
static const Enum< booleanOpType > booleanOpTypeNames
bool surf1Face(const label facei) const
booleanSurface()
Construct null.
booleanOpType
Enumeration listing the possible volume operator types.
ClassName("booleanSurface")
bool from1(const label facei) const
An edge is a list of two vertex labels. This can correspond to a directed graph edge or an edge on a ...
A subset of mesh faces organised as a primitive patch.
Given triSurface and intersection creates the intersected (properly triangulated) surface....
Basic surface-surface intersection description. Constructed from two surfaces it creates a descriptio...
Helper class to search on triSurface.
triSurface()
Default construct.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
List< edge > edgeList
List of edge.
List< label > labelList
A List of labels.
errorManip< error > abort(error &err)
List< geometricSurfacePatch > geometricSurfacePatchList
List of geometricSurfacePatch.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...