enlargedArea method
Calculates area for an extendes bounding box that
would cover both this one and b
. See extend for
the extension method.
Implementation
double enlargedArea(RBushBox b) {
return (max(b.maxX, maxX) - min(b.minX, minX)) *
(max(b.maxY, maxY) - min(b.minY, minY));
}