public BoundingBox getBoundingBox ( Projection projection ) { BoundingBox boundingBox = getBoundingBox ( ) ; if ( projection != null ) { ProjectionTransform transform = getProjection ( ) . getTransformation ( projection ) ; if ( ! transform . isSameProjection ( ) ) { boundingBox = boundingBox . transform ( transform ) ; } } return boundingBox ; }
Get a bounding box in the provided projection