Table of Contents

Enum MeshVolumeValidationResult

Namespace
Gravitas.Colliders
Assembly
Gravitas.dll

Describes the deterministic closed-volume validation result for a triangle mesh.

public enum MeshVolumeValidationResult

Fields

BoundaryEdge = 1

At least one edge belongs to only one triangle.

DisconnectedShell = 4

The mesh contains multiple disconnected closed shells.

DuplicateTriangle = 6

The mesh repeats a triangle with the same three vertex indices.

InconsistentWinding = 3

Adjacent triangles do not use opposite directions for a shared edge.

NonManifoldEdge = 2

At least one edge belongs to more than two triangles.

NonManifoldVertex = 9

At least one exact-position-welded vertex has multiple disconnected triangle fans.

NonRepresentableMassProperties = 8

The scaled center of mass or inertia moments exceed the representable fixed-point range.

NonRepresentableVolume = 7

The scaled solid volume exceeds the representable fixed-point range.

Valid = 0

The mesh is one consistently wound closed volume.

ZeroVolume = 5

The mesh has no usable signed volume after topology validation.