BrepFaceList.SplitKinkyFaces Method (Double, Boolean)

BrepFaceListSplitKinkyFaces Method (Double, Boolean)

Splits any faces with creases into G1 pieces.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool SplitKinkyFaces(
	double kinkTolerance,
	bool compact
)
Public Function SplitKinkyFaces ( 
	kinkTolerance As Double,
	compact As Boolean
) As Boolean

Parameters

kinkTolerance
Type: SystemDouble
Tolerance (in radians) to use for crease detection.
compact
Type: SystemBoolean
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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also