Click or drag to resize

BrepCutUpSurface Method (Surface, IEnumerableCurve, Boolean, Double, Double)

Splits, or cuts up, a surface. Designed to split the underlying surface of a Brep face with edge curves.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.12
Syntax
public static Brep[] CutUpSurface(
	Surface surface,
	IEnumerable<Curve> curves,
	bool flip,
	double fitTolerance,
	double keepTolerance
)

Parameters

surface
Type: Rhino.GeometrySurface
The surface to cut up.
curves
Type: System.Collections.GenericIEnumerableCurve
The edge curves with consistent orientation. The curves should lie on the surface.
flip
Type: SystemBoolean
If true, the input curves are oriented clockwise.
fitTolerance
Type: SystemDouble
The fitting tolerance.
keepTolerance
Type: SystemDouble
Used to decide which face to keep. For best results, should be at least 2 * fitTolerance.

Return Value

Type: Brep
The Brep pieces if successful, an empty array on failure.
See Also