Ignore:
Timestamp:
2012-03-12T23:46:51+01:00 (13 years ago)
Author:
donvip
Message:

opendata: download improvements

Location:
applications/editors/josm/plugins/opendata/includes/org/geotools/referencing/operation/projection
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/includes/org/geotools/referencing/operation/projection/MapProjection.java

    r28000 r28055  
    688688
    689689    /**
     690     * Default version of {@link #checkTransform(double,double,Point2D,double)}.
     691     */
     692    static boolean checkTransform(final double x, final double y, final Point2D expected) {
     693        return checkTransform(x, y, expected, EPSILON);
     694    }
     695
     696    /**
    690697     * Checks if inverse transform using spherical formulas produces the same result
    691698     * than ellipsoidal formulas. This method is invoked during assertions only.
     
    707714        }
    708715        return tolerance < Double.POSITIVE_INFINITY;
     716    }
     717
     718    /**
     719     * Default version of {@link #checkInverseTransform(double,double,Point2D,double)}.
     720     */
     721    static boolean checkInverseTransform(double longitude, double latitude, Point2D expected) {
     722        return checkInverseTransform(longitude, latitude, expected, EPSILON);
    709723    }
    710724
Note: See TracChangeset for help on using the changeset viewer.