Go to the documentation of this file.
35 #ifndef triSurface2DCheck_H
36 #define triSurface2DCheck_H
52 namespace triSurfaceChecks
61 const scalar angleTol = 5.0
67 const word subsetName =
"smallAngles",
68 const scalar angleTol = 5.0
84 const word subsetPrefix=
"nonManifold_"
103 const scalar distTol = 1
e-6
108 const word subsetName=
"collocatedPoints",
109 const scalar distTol = 1
e-6
117 const scalar tol=1
e-6
122 const word subsetName=
"selfIntersect",
123 const scalar tol=1
e-6
131 const scalar tol = 1
e-6,
132 const scalar angleTol = 5.0
137 const word subsetName=
"overlappingTriangles",
138 const scalar tol = 1
e-6,
139 const scalar angleTol = 5.0
label checkOrientation(const triSurf &surf, labelLongList &triangleInGroup)
check orientation of triangles
This is a typedef for LongList<label>
void calculateBoundingBox(const triSurf &surf, boundBox &bb)
calculate bounding box of the surface mesh
label checkForHoles(const triSurf &surf, labelLongList &badTriangles)
check for existence of holes in the surface mesh
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label checkCollocatedPoints(const triSurf &surf, labelLongList &collocatedPoints, const scalar distTol)
check existence of collocated points
label checkSelfIntersections(const triSurf &surf, labelLongList &badFaces, const scalar tol)
check if there exist any self-intersections
label checkSurfaceManifolds(const triSurf &surf, labelLongList &triangleInManifold)
check for existence of boudary and non-manifold edges
const double e
Elementary charge.
label checkDisconnectedParts(const triSurf &surf, labelLongList &triangleInRegion)
check for disconnected surface parts
A class for triangulated surface used in the meshing process. It is derived from points and facets wi...
label checkAngles(const triSurf &surf, labelLongList &badTriangles, const scalar angleTol)
label checkOverlaps(const triSurf &surf, labelLongList &badFaces, const scalar tol, const scalar angleTol)
check if there exist any overlaps
label checkForNonManifoldEdges(const triSurf &surf, labelLongList &badTriangles)
check for existence of non-manifold edges