invoke
Creates a BoundingBox from the given coordinates.
If any of the coordinates are Double.NaN, an empty NoBoundingBox instance is returned. Otherwise, a new BoundingBoxImpl instance is created with the given coordinates.
Return
A BoundingBox instance if the coordinates are valid, or NoBoundingBox if any of the coordinates are Double.NaN.
Parameters
minX
The minimum x-coordinate of the bounding box.
minY
The minimum y-coordinate of the bounding box.
maxX
The maximum x-coordinate of the bounding box.
maxY
The maximum y-coordinate of the bounding box.