cdm/src/main/java/ucar/nc2/ft2/coverage/HorizCoordSys.java
public ProjectionRect calcProjectionBoundingBox() {
    if (!isProjection) return null;
    double minX = Math.min(xAxis.getCoordEdgeFirst(), xAxis.getCoordEdgeLast());
    double minY = Math.min(yAxis.getCoordEdgeFirst(), yAxis.getCoordEdgeLast());
    double width = Math.abs(xAxis.getCoordEdgeLast() - xAxis.getCoordEdgeFirst());
    double height = Math.abs(yAxis.getCoordEdgeLast() - yAxis.getCoordEdgeFirst());
    return new ProjectionRect(new ProjectionPointImpl(minX, minY), width, height);
  }
public ProjectionRect calcProjectionBoundingBox() {
    if (!isProjection) return null;
    double minX = Math.min(xAxis.getCoordEdgeFirst(), xAxis.getCoordEdgeLast());
    double minY = Math.min(yAxis.getCoordEdgeFirst(), yAxis.getCoordEdgeLast());
    double width = Math.abs(xAxis.getCoordEdgeLast() - xAxis.getCoordEdgeFirst());
    double height = Math.abs(yAxis.getCoordEdgeLast() - yAxis.getCoordEdgeFirst());
    return new ProjectionRect(new ProjectionPointImpl(minX, minY), width, height);
  }
public ProjectionRect calcProjectionBoundingBox ( ) { if ( ! isProjection ) return null ; double minX = Math . min ( xAxis . getCoordEdgeFirst ( ) , xAxis . getCoordEdgeLast ( ) ) ; double minY = Math . min ( yAxis . getCoordEdgeFirst ( ) , yAxis . getCoordEdgeLast ( ) ) ; double width = Math . abs ( xAxis . getCoordEdgeLast ( ) - xAxis . getCoordEdgeFirst ( ) ) ; double height = Math . abs ( yAxis . getCoordEdgeLast ( ) - yAxis . getCoordEdgeFirst ( ) ) ; return new ProjectionRect ( new ProjectionPointImpl ( minX , minY ) , width , height ) ; }
Calculates the bounding box of this coordinate reference system, in projection coordinates. If this CRS
{@link #isProjection isn't a projection}, than {@code null} is returned.

@return  the bounding box of this CRS, in projection coordinates.
Calculates the bounding box of this coordinate reference system in projection coordinates . If this CRS { @link #isProjection isn t a projection } than { @code null } is returned .