RhinoCommon API
BrepRemoveHoles Method (IEnumerableComponentIndex, Double) |
Removes inner loops, or holes, in a Brep.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.8

public Brep RemoveHoles( IEnumerable<ComponentIndex> loops, double tolerance )
Public Function RemoveHoles ( loops As IEnumerable(Of ComponentIndex), tolerance As Double ) As Brep
Parameters
- loops
- Type: System.Collections.GenericIEnumerableComponentIndex
A list of BrepLoop component indexes, where BrepLoop.LoopType == Rhino.Geometry.BrepLoopType.Inner. - tolerance
- Type: SystemDouble
The tolerance. When in doubt, use the document's model absolute tolerance.
Return Value
Type: BrepThe Brep without holes if successful, null otherwise.
