Switch rectangle bounds to use min and max vertex
Currently we were using simple halflengths. This needed to be circumvented by a lot of calls to BoundaryCheck
, and it seems inconvenient. Changing to two vertices, min
and max
adds to new floating point values, but simplifies handling.