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.
RhinoCommon (in RhinoCommon.dll)
public Brep Trim(
Public Function Trim (
cutter As Brep,
intersectionTolerance As Double
) As Brep()
- Type: Rhino.GeometryBrep
A cutting brep.
- Type: SystemDouble
A tolerance value with which to compute intersections.
This Brep is not modified, the trim results are returned in an array.
Rhino for MacSupported in: 5.4
Rhino for WindowsSupported in: 6.11