Click or drag to resize

BrepFaceListSplitKinkyFaces Method (Double, Boolean)

Splits any faces with creases into G1 pieces.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public bool SplitKinkyFaces(
	double kinkTolerance,
	bool compact
)

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 occurred, compare the before and after values of Faces.Count
See Also