3536373839404142434445
public Double call(HasGeometry g) { Rectangle gPlusR = g.geometry().mbr().add(r); double m = 0; for (HasGeometry other : list) { if (other != g) { m += gPlusR.intersectionArea(other.geometry().mbr()); } } return m; } };