Since Box can represent a bounding box that straddles the Antimeridian, there may be a situation where such a Box is intersected with a regular bbox. Conceptually, such an intersection might result in two bboxes (the eastern and western parts). What happens at this point, since the resulting Box cannot represent more than one single bounding box?
an empty Box is returned; or
an exception is thrown (which one? A custom type?)
Since
Box
can represent a bounding box that straddles the Antimeridian, there may be a situation where such aBox
is intersected with a regular bbox. Conceptually, such an intersection might result in two bboxes (the eastern and western parts). What happens at this point, since the resultingBox
cannot represent more than one single bounding box?Box
is returned; orRelated to #40 and #86