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.
        Overrides:
        getToleranceForAssertions in class MapProjection
        Parameters:
        longitude - The longitude in decimal degrees.
        latitude - The latitude in decimal degrees.
        Returns:
        The tolerance level for assertions, in meters.
      • hashCode

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

        public boolean equals​(Object object)
        Compares the specified object with this map projection for equality.
        Overrides:
        equals in class MapProjection
        Parameters:
        object - The object to compare with this transform.
        Returns:
        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.