BrepCreateBooleanUnion Method (IEnumerableBrep, Double, Boolean, Point3d, Point3d, Point3d) |
Compute the Boolean Union of a set of Breps.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax public static Brep[] CreateBooleanUnion(
IEnumerable<Brep> breps,
double tolerance,
bool manifoldOnly,
out Point3d[] nakedEdgePoints,
out Point3d[] badIntersectionPoints,
out Point3d[] nonManifoldEdgePoints
)
Public Shared Function CreateBooleanUnion (
breps As IEnumerable(Of Brep),
tolerance As Double,
manifoldOnly As Boolean,
<OutAttribute> ByRef nakedEdgePoints As Point3d(),
<OutAttribute> ByRef badIntersectionPoints As Point3d(),
<OutAttribute> ByRef nonManifoldEdgePoints As Point3d()
) As Brep()
Parameters
- breps
- Type: System.Collections.GenericIEnumerableBrep
Breps to union. - tolerance
- Type: SystemDouble
Tolerance to use for union operation. - manifoldOnly
- Type: SystemBoolean
If true, non-manifold input breps are ignored. - nakedEdgePoints
- Type: Rhino.GeometryPoint3d
If Boolean failed because the intersection hit a naked edge, a point will be added where the intersection hits the edge.
- badIntersectionPoints
- Type: Rhino.GeometryPoint3d
If Boolean failed because an intersection ends on the interior of both surfaces, a point is added.This happens when the surface intersector fails.
- nonManifoldEdgePoints
- Type: Rhino.GeometryPoint3d
If Boolean failed because the intersection hit a non-manifold edge, a point will be added where the intersection hits the edge.
Return Value
Type:
BrepAn array of Brep results or null on failure.
See Also