Enum SolidIssueKind
- Namespace
- GeometryHelper.Enums
- Assembly
- GeometryHelper.dll
What Validate(Tolerance) found wrong with the faces of a body, or worth knowing about them.
public enum SolidIssueKind
Fields
OpenEdge = 0A stretch of edge an odd number of faces meet on: one, the rim of a gap, or three, a fin standing off the surface. The body is not closed.
SameWayEdge = 1A stretch of edge an even number of faces meet on, not as many running it one way as the other: a face wound the wrong way round beside its neighbours. IsClosed(Tolerance) counts the faces on an edge and not which way they run it, and calls such a body closed.
InsideOut = 2Faces enclosing less than nothing: the body is wound inwards, as TurnOutwards() sets right.
NoVolume = 3Faces enclosing no more volume than half the point tolerance times their area: a sheet, or faces lying back to back, no thicker than the tolerance, as a slab t thick encloses half its faces' area times t. A slab 100 by 100 and 0.0015 thick encloses something at a tolerance of a thousandth, and one 0.001 thick nothing; read against the whole tolerance, a slab up to twice it thick enclosed nothing. A square rod encloses a quarter of its side times its area, and so encloses nothing up to twice the tolerance across, where it was up to four times.
NonManifoldEdge = 4A stretch of edge four or more faces meet on, as many running it each way: two blocks meeting along an edge. The body is closed; noted.
ShortEdge = 5An edge of a face no longer than the point tolerance: two corners that are one point. Noted.
SliverFace = 6A face no wider on average than the point tolerance, its area no more than half the tolerance times its perimeter: within the tolerance it covers nothing. Noted.
NotFlatFace = 7A face with a corner further off its plane than the planar tolerance, measured as the booleans measure it, from the plane of its first corner; the booleans break such a face into triangles on its own corners before they cut it. Noted.
Remarks
The first four leave a body no boolean or measure can read as the material it is meant to be, and make it not valid; the rest are noted. They come in this order in Issues.