src/main/java/ucar/geoapi/Wrapper.java
public static Ellipsoid wrap(final Earth earth) {
        if (earth == null) return null;
        if (earth == Earth.DEFAULT) return NetcdfEllipsoid.SPHERE;
        if (earth == EarthEllipsoid.WGS84) return NetcdfEllipsoid.WGS84;
        return new NetcdfEllipsoid(earth);
    }
/**
     * Creates an ellipsoid for the given Earth shape.
     *
     * @param  earth  the netCDF Earth shape, or {@code null} if none.
     * @return an ellipsoid wrapping the given Earth shape, or {@code null} if the argument was null.
     */
Creates an ellipsoid for the given Earth shape.
@param  earth  the netCDF Earth shape, or  null if none.
@return an ellipsoid wrapping the given Earth shape, or  null if the argument was null.
Creates an ellipsoid for the given Earth shape . @param earth the netCDF Earth shape or null if none . @return an ellipsoid wrapping the given Earth shape or null if the argument was null .
public static Ellipsoid wrap(final Earth earth) {
        if (earth == null) return null;
        if (earth == Earth.DEFAULT) return NetcdfEllipsoid.SPHERE;
        if (earth == EarthEllipsoid.WGS84) return NetcdfEllipsoid.WGS84;
        return new NetcdfEllipsoid(earth);
    }
public static Ellipsoid wrap ( final Earth earth ) { if ( earth == null ) return null ; if ( earth == Earth . DEFAULT ) return NetcdfEllipsoid . SPHERE ; if ( earth == EarthEllipsoid . WGS84 ) return NetcdfEllipsoid . WGS84 ; return new NetcdfEllipsoid ( earth ) ; }
Creates an ellipsoid for the given Earth shape.
Creates an ellipsoid for the given Earth shape .