52#ifndef booleanSurface_H
53#define booleanSurface_H
65class triSurfaceSearch;
66class intersectedSurface;
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
Return list of edges, address into LOCAL point list.
Surface-surface intersection. Given two surfaces construct combined surface.
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 point labels. The functionality it provides supports the discretisation 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...
Triangulated surface description with patch information.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)