Class Polyconic.Abstract

All Implemented Interfaces:
Serializable, MathTransform, MathTransform2D
Direct Known Subclasses:
Polyconic.Ellipsoidal, Polyconic.Spherical
Enclosing class:
Polyconic

public abstract static class Polyconic.Abstract extends MapProjection
See Also:
  • Field Details

    • ml0

      protected final double ml0
      Meridian distance at the latitudeOfOrigin. Used for calculations for the ellipsoid.
  • Constructor Details

  • Method Details

    • getParameterDescriptors

      public ParameterDescriptorGroup getParameterDescriptors()
      Returns the parameter descriptors for this map projection. This is used for a providing a default implementation of MapProjection.getParameterValues(), as well as arguments checking.
      Specified by:
      getParameterDescriptors in class MapProjection
      Returns:
      The parameter descriptors for this math transform, or null.
      See Also:
    • 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.