Click or drag to resize

MeshFaceRepair Method

Attempts to repair this mesh face by taking both face indexes and actual vertex locations into account.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public bool Repair(
	Point3d[] points
)

Parameters

points
Type: Rhino.GeometryPoint3d
Array of vertices with which to consider when repairing the face.

Return Value

Type: Boolean
true if the face was repaired, false if not.
Remarks
This function assumes the face is invalid and attempts to repair unconditionally. It is only worthwhile to call Repair on faces where IsValid returns false.
See Also