public double[][] projToLatLon(double[][] from, double[][] to) { if ((from == null) || (from.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (from)"); } if ((to == null) || (to.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (to)"); } if (from[0].length != to[0].length) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:from array not same length as to array"); } return convert2latlon.projToLatLon(from, to); }
public double[][] projToLatLon(double[][] from, double[][] to) { if ((from == null) || (from.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (from)"); } if ((to == null) || (to.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (to)"); } if (from[0].length != to[0].length) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:from array not same length as to array"); } return convert2latlon.projToLatLon(from, to); }
public double[][] projToLatLon(double[][] from, double[][] to) { if ((from == null) || (from.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (from)"); } if ((to == null) || (to.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (to)"); } if (from[0].length != to[0].length) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:from array not same length as to array"); } return convert2latlon.projToLatLon(from, to); }
/** * Convert projection coordinates to lat/lon coordinate. * * @param from array of projection coordinates: from[2][n], where * (from[0][i], from[1][i]) is the (x, y) coordinate * of the ith point * @param to resulting array of lat/lon coordinates: to[2][n] where * (to[0][i], to[1][i]) is the (lat, lon) coordinate of * the ith point * @return the "to" array */ public float[][] projToLatLon(float[][] from, float[][] to) { if ((from == null) || (from.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (from)"); } if ((to == null) || (to.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (to)"); } if (from[0].length != to[0].length) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:from array not same length as to array"); } return convert2latlon.projToLatLon(from, to); }
/** * Convert projection coordinates to lat/lon coordinate. * * @param from array of projection coordinates: from[2][n], where * (from[0][i], from[1][i]) is the (x, y) coordinate * of the ith point * @param to resulting array of lat/lon coordinates: to[2][n] where * (to[0][i], to[1][i]) is the (lat, lon) coordinate of * the ith point * @return the "to" array */ public float[][] projToLatLon(float[][] from, float[][] to) { if ((from == null) || (from.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (from)"); } if ((to == null) || (to.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (to)"); } if (from[0].length != to[0].length) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:from array not same length as to array"); } return convert2latlon.projToLatLon(from, to); }
/** * Convert projection coordinates to lat/lon coordinate. * * @param from array of projection coordinates: from[2][n], where * (from[0][i], from[1][i]) is the (x, y) coordinate * of the ith point * @param to resulting array of lat/lon coordinates: to[2][n] where * (to[0][i], to[1][i]) is the (lat, lon) coordinate of * the ith point * @return the "to" array */ public float[][] projToLatLon(float[][] from, float[][] to) { if ((from == null) || (from.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (from)"); } if ((to == null) || (to.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:null array argument or wrong dimension (to)"); } if (from[0].length != to[0].length) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:from array not same length as to array"); } return convert2latlon.projToLatLon(from, to); }
/** * _more_ * * @param from _more_ * @param to _more_ * @return _more_ */ public double[][] projToLatLon(double[][] from, double[][] to) { if ((from == null) || (from.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:" + "null array argument or wrong dimension (from)"); } if ((to == null) || (to.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:" + "null array argument or wrong dimension (to)"); } if (from[0].length != to[0].length) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:" + "from array not same length as to array"); } return convert2latlon.projToLatLon(from, to); }
/** * Convert projection coordinates to lat/lon coordinate. * * @param from array of projection coordinates: from[2][n], where * (from[0][i], from[1][i]) is the (x, y) coordinate * of the ith point * @param to resulting array of lat/lon coordinates: to[2][n] where * (to[0][i], to[1][i]) is the (lat, lon) coordinate of * the ith point * @return the "to" array */ public float[][] projToLatLon(float[][] from, float[][] to) { if ((from == null) || (from.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:" + "null array argument or wrong dimension (from)"); } if ((to == null) || (to.length != 2)) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:" + "null array argument or wrong dimension (to)"); } if (from[0].length != to[0].length) { throw new IllegalArgumentException("ProjectionImpl.projToLatLon:" + "from array not same length as to array"); } return convert2latlon.projToLatLon(from, to); }
/** * 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 */ public LatLonPoint projToLatLon(ProjectionPoint world, LatLonPointImpl result) { return convert2latlon.projToLatLon(world.getX(), world.getY(), 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 */ public LatLonPoint projToLatLon(ProjectionPoint world, LatLonPointImpl result) { return convert2latlon.projToLatLon(world.getX(), world.getY(), 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 */ public LatLonPoint projToLatLon(ProjectionPoint world, LatLonPointImpl result) { return convert2latlon.projToLatLon(world.getX(), world.getY(), 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 */ public LatLonPoint projToLatLon(ProjectionPoint world, LatLonPointImpl result) { return convert2latlon.projToLatLon(world.getX(), world.getY(), result); }