Solid.Intersection<T> (T, T, Double) Method
Boolean Intersection between two solids. The method will compute the intersection between the two specified solids (gray and blue in the image below) and return an array with the result (green). The returned array may have more than one element if multiple disjoint intersections are found.
Type Parameters
- T
Parameters
- a
- T
First operand
- b
- T
Second operand
- tol
- double
Optional tolerance, start with domain size * 1e-6
Return Value
T[]An array of solids if the operation is successful. If the operation is successful but no intersections are found, an empty array is returned. Otherwise, if due to an error the algorithm fails to compute the intersections, null/Nothing is returned.