visad/src/main/java/ucar/nc2/iosp/mcidas/McIDASAreaProjection.java
public LatLonPoint projToLatLon(ProjectionPoint world, LatLonPointImpl result) {
    double toLat, toLon;
    double fromX = world.getX();
    double fromY = world.getY();


    double[][] latlon = anav.toLatLon(new double[][]{{fromX}, {fromY}});
    toLat = latlon[0][0];
    toLon = latlon[1][0];

    result.setLatitude(toLat);
    result.setLongitude(toLon);
    return result;
  }
public LatLonPoint projToLatLon(ProjectionPoint world, LatLonPointImpl result) {
    double toLat, toLon;
    double fromX = world.getX();
    double fromY = world.getY();


    double[][] latlon = anav.toLatLon(new double[][]{{fromX}, {fromY}});
    toLat = latlon[0][0];
    toLon = latlon[1][0];

    result.setLatitude(toLat);
    result.setLongitude(toLon);
    return result;
  }
public LatLonPoint projToLatLon ( ProjectionPoint world , LatLonPointImpl result ) { double toLat , toLon ; double fromX = world . getX ( ) ; double fromY = world . getY ( ) ; double [ ] [ ] latlon = anav . toLatLon ( new double [ ] [ ] { { fromX } , { fromY } } ) ; toLat = latlon [ 0 ] [ 0 ] ; toLon = latlon [ 1 ] [ 0 ] ; result . setLatitude ( toLat ) ; result . setLongitude ( toLon ) ; return result ; }
Convert projection coordinates to a LatLonPoint
Note: a new object is not created on each call for the return value.

@param world  convert from these projection coordinates
@param result the object to write to
@return LatLonPoint convert to these lat/lon coordinates
Convert projection coordinates to a LatLonPoint Note : a new object is not created on each call for the return value .