public int getDistanceMeters ( Extent boundingBox ) { return new Double ( Math . floor ( Calculator . latLonDist ( boundingBox . getMinX ( ) , boundingBox . getMinY ( ) , boundingBox . getMaxX ( ) , boundingBox . getMaxY ( ) ) ) ) . intValue ( ) ; }
Utility method to get the distance from the bottom left corner of the bounding box to the upper right corner