Contents

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.

See Also

Creating derived 3D rectangles