isIntersected()
isIntersected(\BinContainerPacking\Item $firstItem, \BinContainerPacking\Item $secondItem) : bool
The two 3d-plane intersection checker.
Parameters
\BinContainerPacking\Item | $firstItem | The first 3d-plane item. |
\BinContainerPacking\Item | $secondItem | The second 3d-plane item. |
Returns
bool —The flag indicates whether both items are intersected with each other or not, return true if both items are intersected with each other, otherwise false.