Class Polyconic.Abstract

    • Field Detail

      • ml0

        protected final double ml0
        Meridian distance at the latitudeOfOrigin. Used for calculations for the ellipsoid.
    • Method Detail

      • getToleranceForAssertions

        protected double getToleranceForAssertions​(double longitude,
                                                   double latitude)
        Description copied from class: MapProjection
        Maximal error (in metres) tolerated for assertions, if enabled. When assertions are enabled, every direct projection is followed by an inverse projection, and the result is compared to the original coordinate. If a distance greater than the tolerance level is found, then an ProjectionException will be thrown. Subclasses should override this method if they need to relax the tolerance level.
        getToleranceForAssertions in class MapProjection
        longitude - The longitude in decimal degrees.
        latitude - The latitude in decimal degrees.
        The tolerance level for assertions, in meters.
      • hashCode

        public int hashCode()
        Returns a hash value for this projection.
        hashCode in class MapProjection
      • equals

        public boolean equals​(Object object)
        Compares the specified object with this map projection for equality.
        equals in class MapProjection
        object - The object to compare with this transform.
        true if the given object is a transform of the same class and if, given identical source position, the transformed position would be the equals.