intersect

Computes the intersection of this box with another BoxCoordinates instance.

Return

A new BoxCoordinates instance representing the intersection of the two boxes, or null if they do not intersect.

Parameters

other

The other box to intersect with.