intersection(_:)
Returns the intersection of two rectangles.
Declaration
func intersection(_ other: Rect3D) -> Rect3D?Parameters
- other:
The rectangle that the function compares against.
Return Value
A new rectangle that is the intersection of two rectangles.