Vixen
dd8b0a81
csharp
public readonly record struct ConditioningReport

What conditioning changed, so a caller can refuse to continue on it.

Read the guide page for this →

Remarks

Conditioning is a stage with a report, not hygiene. docs/plan/41 § D3 and § B1: a remesher that assumes a clean manifold is a remesher that does not run on the input this library exists for.

⚠ Non-manifold edges are repaired by cutting, not by merging. An edge with three or more faces is split so each side is manifold. Cutting keeps the geometry and costs a seam; merging invents a surface that was never there.

⚠ Shrinkwrapped being true is worth reading as a warning. It destroys thin features and it is never the default — it is the escape hatch for input so broken that nothing else will run.

Fields and properties (9)

  • public int Welded

    Positions merged into one.

  • public int Reoriented

    Faces whose winding was flipped to agree with their neighbours.

  • public int Unorientable

    Components whose orientation could not be made consistent — flagged, not fixed.

  • public int Despecked

    Connected components dropped for being too small a fraction of the largest.

  • public int Cut

    Non-manifold edges split so that each side is manifold.

  • public int Filled

    Holes closed.

  • public bool Shrinkwrapped

    Whether the voxel escape hatch fired.

  • public int Triangles

    How many triangles came out.

  • public MeshReport Mesh

    Doc 24's report on the conditioned surface, unchanged.

Methods (1)

  • public ConditioningReport(int Welded, int Reoriented, int Unorientable, int Despecked, int Cut, int Filled, bool Shrinkwrapped, int Triangles, MeshReport Mesh)

    What conditioning changed, so a caller can refuse to continue on it.

Used by (13)

  • ConditioningPropertyTestsVixen.Geometry.Remeshing.Tests
  • ConditioningTestsVixen.Geometry.Remeshing.Tests
  • ManifoldMeshTestsVixen.Geometry.Remeshing.Tests
  • MeshConditionerVixen.Geometry.Remeshing
  • RemeshBytesTestsVixen.Geometry.Remeshing.Tests
  • RemeshDeterminismTestsVixen.Geometry.Remeshing.Tests
  • RemeshDumpTestsVixen.Geometry.Remeshing.Tests
  • RemeshPipelinePropertyTestsVixen.Geometry.Remeshing.Tests
  • RemeshReportVixen.Geometry.Remeshing
  • RemeshReportTestsVixen.Geometry.Remeshing.Tests
  • RemesherVixen.Geometry.Remeshing
  • RemesherTestsVixen.Geometry.Remeshing.Tests
  • ScaleInvarianceTestsVixen.Geometry.Remeshing.Tests