Skip to content

Mesh.CreateFromIterativeCleanup

Public Class

Repairs meshes with vertices that are too near, using a tolerance value.

Namespace: Rhino.Geometry

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**7.0

Syntax

public static Mesh[] CreateFromIterativeCleanup(
IEnumerable<Mesh> meshes,
double tolerance
)

Parameters

meshes

Type:System.Collections.Generic.IEnumerable. Mesh.
The meshes to be repaired.

tolerance

Type:System.Double
A minimum distance for clean vertices.

Return Value

Type:. Mesh.
A valid meshes array if successful. If no change was required, some meshes can be null. Otherwise, null, when no changes were done.

Remarks