MeshCheckParameters

References
[StructLayout(LayoutKind.Sequential, Pack = 8, Size = 128)] public struct MeshCheckParameters
Output of a mesh checking operations.

Properties

CheckForBadNormals

#Since v7.0
public bool CheckForBadNormals { get; set; }
If true, then look for vertex normals that are not unit vectors, are zero length or vary greatly from the general direction of the face normals.

CheckForDegenerateFaces

#Since v7.0
public bool CheckForDegenerateFaces { get; set; }
If true, then look for triangles and quads that have zero area and quads where one sub triangle has zero area.

CheckForDisjointMeshes

#Since v7.0
public bool CheckForDisjointMeshes { get; set; }
If true, then look for faces in the mesh that are totally isolated from other faces in the mesh. (i.e. an island of faces, or many islands, that have a boundary of naked edges)

CheckForDuplicateFaces

#Since v7.0
public bool CheckForDuplicateFaces { get; set; }
If true, then look for faces that have vertices (not necessarily vertex indexes) that are identical.

CheckForExtremelyShortEdges

#Since v7.0
public bool CheckForExtremelyShortEdges { get; set; }
If true, then look for topological edges where the distance between the endpoints is less than ExtremelyShortEdgeDistance.

CheckForInvalidNgons

#Since v7.0
public bool CheckForInvalidNgons { get; set; }
If true, then look for ngons that have invalid information.

CheckForNakedEdges

#Since v7.0
public bool CheckForNakedEdges { get; set; }
If true, then look for topological edges in the mesh topology where the face count is 1. Note, this check is also made if CheckForDuplicateFaces is true but the output is not shown if CheckForNakedEdges is false.

CheckForNonManifoldEdges

#Since v7.0
public bool CheckForNonManifoldEdges { get; set; }
If true, then look for topological edges in the mesh topology where the face count is greater than 2. Note, this check is also made if CheckForDuplicateFaces is true but the output is not shown if CheckForNonManifoldEdges is false.

CheckForRandomFaceNormals

#Since v7.0
public bool CheckForRandomFaceNormals { get; set; }
If true, then look for adjacent faces that have the same edge orientation. This typically means that clockwise/counterclockwise orientation, and face normal are not in sync.

CheckForSelfIntersection

#Since v7.0
public bool CheckForSelfIntersection { get; set; }
If true, then look for self intersections.

CheckForUnusedVertices

#Since v7.0
public bool CheckForUnusedVertices { get; set; }
If true, then look for vertices that are not referenced by any face in the mesh.

DegenerateFaceCount

#Since v7.0
public int DegenerateFaceCount { get; }
Gets the total degenerate face count for all meshes.

DisjointMeshCount

#Since v7.0
public int DisjointMeshCount { get; }
Gets the total count of disjoint pieces for all meshes.

DuplicateFaceCount

#Since v7.0
public int DuplicateFaceCount { get; }
Gets the total count of duplicate faces for all meshes.

ExtremelyShortEdgeCount

#Since v7.0
public int ExtremelyShortEdgeCount { get; }
Gets the total number of extremely short edges for all meshes.

InvalidNgonCount

#Since v7.0
public int InvalidNgonCount { get; }
Gets the total number of invalid ngons for all meshes.

NakedEdgeCount

#Since v7.0
public int NakedEdgeCount { get; }
Gets the total number of naked edges for all meshes.

NonManifoldEdgeCount

#Since v7.0
public int NonManifoldEdgeCount { get; }
Gets the total number of non-manifold edges for all meshes.

NonUnitVectorNormalCount

#Since v7.0
public int NonUnitVectorNormalCount { get; }
Get the total count of normals that are not unit vectors for all meshes.

RandomFaceNormalCount

#Since v7.0
public int RandomFaceNormalCount { get; }
Gets the total count of random face normals for all meshes.

SelfIntersectingPairsCount

#Since v7.0
public int SelfIntersectingPairsCount { get; }
Gets the total count of self intersections for all meshes.

UnusedVertexCount

#Since v7.0
public int UnusedVertexCount { get; }
Gets the total count of unused vertices for all meshes.

VertexFaceNormalsDifferCount

#Since v7.0
public int VertexFaceNormalsDifferCount { get; }
Gets the total count of vertex normals that differ greatly from face normals for all meshes.

ZeroLengthNormalCount

#Since v7.0
public int ZeroLengthNormalCount { get; }
Gets the total count of zero length normals for all meshes.

Methods

Defaults

#Since v7.0
public static MeshCheckParameters Defaults()
Gets the default mesh check parameters.
The default mesh check parameters.