private boolean exceedsScreenDimensions ( InternalFeature f , double scale ) { Envelope env = f . getBounds ( ) ; return ( env . getWidth ( ) * scale > MAXIMUM_TILE_COORDINATE ) || ( env . getHeight ( ) * scale > MAXIMUM_TILE_COORDINATE ) ; }
The test that checks if clipping is needed .