-1 no intersection. 0 intersection and one line segment point is inside of this box. 1 intersection and both line segment points are inside of this box. 2 intersection and both line segment points are outside of this box.
Checks the intersection between this bounding box and the given line segment.
-1 no intersection. 0 intersection and only one line segment point is inside of this box. 1 intersection and both line segment points are inside of this box. 2 intersection and both line segment points are outside of this box.
Checks the intersection between this bounding box and the given line segment.