@Override public Object clone() { return new TransverseMercatorProjection(ellipsoid, Math.toDegrees(projectionLongitude), Math.toDegrees(projectionLatitude), scaleFactor, falseEasting, falseNorthing); }
static public void main(String[] args) { // test-code Earth e = new Earth(6378.137, 6356.7523142, 0); ProjectionImpl proj = new TransverseMercatorProjection(e, 9., 0., 0.9996, 500.000, 0.); double[] lat = {60., 90., 60.}; double[] lon = {0., 0., 10.}; test(proj, lat, lon); proj = new TransverseMercatorProjection(e, 9., 0., 0.9996, 500., 0.); test(proj, lat, lon); }
@Override public ProjectionImpl constructCopy() { ProjectionImpl result = new TransverseMercatorProjection(ellipsoid, Math.toDegrees(projectionLongitude), Math.toDegrees(projectionLatitude), scaleFactor, falseEasting, falseNorthing); result.setDefaultMapArea(defaultMapArea); result.setName(name); return result; }
static public void main(String[] args) { // test-code Earth e = new Earth(6378.137, 6356.7523142, 0); ProjectionImpl proj = new TransverseMercatorProjection(e, 9., 0., 0.9996, 500.000, 0.); double[] lat = {60., 90., 60.}; double[] lon = {0., 0., 10.}; test(proj, lat, lon); proj = new TransverseMercatorProjection(e, 9., 0., 0.9996, 500., 0.); test(proj, lat, lon); }
@Override public ProjectionImpl constructCopy() { ProjectionImpl result = new TransverseMercatorProjection(ellipsoid, Math.toDegrees(projectionLongitude), Math.toDegrees(projectionLatitude), scaleFactor, falseEasting, falseNorthing); result.setDefaultMapArea(defaultMapArea); result.setName(name); return result; }
static public void main(String[] args) { // test-code Earth e = new Earth(6378.137, 6356.7523142, 0); ProjectionImpl proj = new TransverseMercatorProjection(e, 9., 0., 0.9996, 500.000, 0.); double[] lat = {60., 90., 60.}; double[] lon = {0., 0., 10.}; test(proj, lat, lon); proj = new TransverseMercatorProjection(e, 9., 0., 0.9996, 500., 0.); test(proj, lat, lon); }
@Override public ProjectionImpl constructCopy() { ProjectionImpl result = new TransverseMercatorProjection(ellipsoid, Math.toDegrees(projectionLongitude), Math.toDegrees(projectionLatitude), scaleFactor, falseEasting, falseNorthing); result.setDefaultMapArea(defaultMapArea); result.setName(name); return result; }
static public void main(String[] args) { // test-code Earth e = new Earth(6378.137, 6356.7523142, 0); ProjectionImpl proj = new TransverseMercatorProjection(e, 9., 0., 0.9996, 500.000, 0.); double[] lat = {60., 90., 60.}; double[] lon = {0., 0., 10.}; test(proj, lat, lon); proj = new TransverseMercatorProjection(e, 9., 0., 0.9996, 500., 0.); test(proj, lat, lon); }
proj = new ucar.unidata.geoloc.projection.proj4.TransverseMercatorProjection(earth, lon0, lat0, scale, false_easting, false_northing); } else { proj = new ucar.unidata.geoloc.projection.TransverseMercator(lat0, lon0, scale, false_easting, false_northing, earth_radius);
proj = new ucar.unidata.geoloc.projection.proj4.TransverseMercatorProjection(earth, lon0, lat0, scale, false_easting, false_northing); } else { proj = new ucar.unidata.geoloc.projection.TransverseMercator(lat0, lon0, scale, false_easting, false_northing, earth_radius);
proj = new ucar.unidata.geoloc.projection.proj4.TransverseMercatorProjection(earth, lon0, lat0, scale, false_easting, false_northing); } else { proj = new ucar.unidata.geoloc.projection.TransverseMercator(lat0, lon0, scale, false_easting, false_northing, earth_radius);