Polyhedron.boolean_union
- Polyhedron.boolean_union(other)[source]
Compute the boolean union of this polyhedron and another.
- Parameters:
- other
compas.geometry.Polyhedron
The polyhedron to add.
- other
- Returns:
compas.geometry.Polyhedron
The resulting polyhedron.
Examples
>>> from compas.geometry import Box, Sphere >>> A = Box(size=2).to_polyhedron() >>> B = Sphere(point=[1, 1, 1], radius=1.0).to_polyhedron(u=16) >>> C = A.boolean_union(B)