Click or drag to resize

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
)

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: Brep
An array of Brep results or null on failure.
See Also