nl_tokens: Calculates the bounding box of this coordinate reference system in latitude / longitude . This method properly handles coverages that straddle the international date line by deriving its bounding box from the { @link #calcConnectedLatLonBoundaryPoints ( int int ) connected latitude / longitude boundary } . <p > If this CRS { @link #isProjection is a projection } its lat / lon boundary is computed by converting each point in its { @link #calcProjectionBoundaryPoints () projection boundary } to latitude / longitude using the { @link Projection projection } .
pl_tokens: public LatLonRect calcLatLonBoundingBox ( ) { double minLat = Double . MAX_VALUE ; double minLon = Double . MAX_VALUE ; double maxLat = - Double . MAX_VALUE ; double maxLon = - Double . MAX_VALUE ; for ( LatLonPointNoNormalize boundaryPoint : calcConnectedLatLonBoundaryPoints ( ) ) { minLat = Math . <mask> ( minLat , boundaryPoint . getLatitude ( ) ) ; minLon = Math . min ( minLon , boundaryPoint . getLongitude ( ) ) ; maxLat = Math . max ( maxLat , boundaryPoint . getLatitude ( ) ) ; maxLon = Math . max ( maxLon , boundaryPoint . getLongitude ( ) ) ; } return new LatLonRect ( new LatLonPointImpl ( minLat , minLon ) , new LatLonPointImpl ( maxLat , maxLon ) ) ; }