52 #ifndef booleanSurface_H 53 #define booleanSurface_H 65 class triSurfaceSearch;
66 class 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;
booleanSurface()
Construct null.
const labelList & faceMap() const
New to old face map. >0: surface 1 face label. <0: surface 2. Negate.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Surface-surface intersection. Given two surfaces construct combined surface.
Basic surface-surface intersection description. Constructed from two surfaces it creates a descriptio...
const dimensionedScalar e
Elementary charge.
An edge is a list of two vertex labels. This can correspond to a directed graph edge or an edge on a ...
bool surf2Face(const label facei) const
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
Given triSurface and intersection creates the intersected (properly triangulated) surface...
errorManip< error > abort(error &err)
ClassName("booleanSurface")
static const Enum< booleanOpType > booleanOpTypeNames
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...
bool surf1Face(const label facei) const
booleanOpType
Enumeration listing the possible volume operator types.
bool from1(const label facei) const
A subset of mesh faces organised as a primitive patch.
Triangulated surface description with patch information.