M_Rhino_Geometry_MeshFace_Repair - mcneel/rhinocommon-api-docs GitHub Wiki

MeshFace.Repair 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) Version: Rhino 6.0

Syntax

C#

public bool Repair(
	Point3d[] points
)

VB

Public Function Repair ( 
	points As Point3d()
) As Boolean

Parameters

 

points
Type: Rhino.Geometry.Point3d[]
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.

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

MeshFace Structure
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️