Go to the documentation of this file.
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;
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
ClassName("booleanSurface")
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
booleanOpType
Enumeration listing the possible volume operator types.
static const Enum< booleanOpType > booleanOpTypeNames
bool surf1Face(const label facei) const
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.
A subset of mesh faces organised as a primitive patch.
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 from1(const label facei) const
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
bool surf2Face(const label facei) const
const dimensionedScalar e
Elementary charge.
booleanSurface()
Construct null.