Click or drag to resize

BrepTrim Method (Brep, Double)

Trims a brep with an oriented cutter. The parts of the brep that lie inside (opposite the normal) of the cutter are retained while the parts to the outside (in the direction of the normal) are discarded. If the Cutter is closed, then a connected component of the Brep that does not intersect the cutter is kept if and only if it is contained in the inside of cutter. That is the region bounded by cutter opposite from the normal of cutter, If cutter is not closed all these components are kept.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public Brep[] Trim(
	Brep cutter,
	double intersectionTolerance
)

Parameters

cutter
Type: Rhino.GeometryBrep
A cutting brep.
intersectionTolerance
Type: SystemDouble
A tolerance value with which to compute intersections.

Return Value

Type: Brep
This Brep is not modified, the trim results are returned in an array.
See Also