@Test public void testGetLatLonRectFromEnvelope() { ReferencedEnvelope input = new ReferencedEnvelope(); LatLonRect result = null; try { result = GeoToolsNetCDFUtility.getLatLonRectFromEnvelope(input); } catch (TransformException ex) { Logger.getLogger(GeoToolsNetCDFUtilityTest.class.getName()).log(Level.SEVERE, null, ex); fail(ex.getMessage()); } assertNotNull(result); assertEquals(result.getUpperRightPoint().getLatitude(), 0.0, 0.0); assertEquals(result.getUpperRightPoint().getLongitude(), -1.0, 0.0); assertEquals(result.getLowerLeftPoint().getLatitude(), -1.0, 0.0); assertEquals(result.getLowerLeftPoint().getLongitude(), 0.0, 0.0); }
public static LatLonRect getLatLonRectFromEnvelope(ReferencedEnvelope envelope) throws TransformException { return getLatLonRectFromEnvelope(envelope, DefaultGeographicCRS.WGS84); }
GeoToolsNetCDFUtility { public static LatLonRect getLatLonRectFromEnvelope(ReferencedEnvelope envelope) throws TransformException { return getLatLonRectFromEnvelope(envelope, DefaultGeographicCRS.WGS84); } }
GeoToolsNetCDFUtility { public static LatLonRect getLatLonRectFromEnvelope(ReferencedEnvelope envelope) throws TransformException { return getLatLonRectFromEnvelope(envelope, DefaultGeographicCRS.WGS84); }  }
GeoToolsNetCDFUtility { public static LatLonRect getLatLonRectFromEnvelope(ReferencedEnvelope envelope) throws TransformException { return getLatLonRectFromEnvelope(envelope, DefaultGeographicCRS.WGS84); }  static LatLonRect getLatLonRectFromEnvelope(ReferencedEnvelope envelope); static LatLonRect getLatLonRectFromEnvelope(ReferencedEnvelope envelope, GeographicCRS targetCRS); }
GeoToolsNetCDFUtility { public static LatLonRect getLatLonRectFromEnvelope(ReferencedEnvelope envelope) throws TransformException { return getLatLonRectFromEnvelope(envelope, DefaultGeographicCRS.WGS84); }  static LatLonRect getLatLonRectFromEnvelope(ReferencedEnvelope envelope); static LatLonRect getLatLonRectFromEnvelope(ReferencedEnvelope envelope, GeographicCRS targetCRS);  }