Click or drag to resize

BrepRemoveHoles Method (IEnumerableComponentIndex, Double)

Removes inner loops, or holes, in a Brep.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Brep RemoveHoles(
	IEnumerable<ComponentIndex> loops,
	double tolerance
)

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: Brep
The Brep without holes if successful, null otherwise.
Version Information

Rhino for Windows

Supported in: 6.13
See Also