M_Rhino_Geometry_Collections_BrepFaceList_SplitKinkyFaces_2 - mcneel/rhinocommon-api-docs GitHub Wiki

BrepFaceList.SplitKinkyFaces Method (Double, Boolean)

Splits any faces with creases into G1 pieces.

Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool SplitKinkyFaces(
	double kinkTolerance,
	bool compact
)

VB

Public Function SplitKinkyFaces ( 
	kinkTolerance As Double,
	compact As Boolean
) As Boolean

Parameters

 

kinkTolerance
Type: System.Double
Tolerance (in radians) to use for crease detection.
compact
Type: System.Boolean
If true, the Brep will be compacted if possible.

Return Value

Type: Boolean
true on success, false on failure.

Remarks

If you need to detect whether splitting occured, compare the before and after values of Faces.Count

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

BrepFaceList Class
SplitKinkyFaces Overload
Rhino.Geometry.Collections Namespace

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