public final class UniversalPolarStereographic extends Object implements IEquatable<UniversalPolarStereographic>, IEquatableEpsilon<UniversalPolarStereographic>, ImmutableValueType
| Constructor and Description | 
|---|
UniversalPolarStereographic()
Initializes a new instance. 
 | 
UniversalPolarStereographic(PoleIndicator hemisphere,
                           double easting,
                           double northing)
Initializes a set of  
UniversalPolarStereographic coordinates from the provided values. | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)
Indicates whether another object is exactly equal to this instance. 
 | 
static boolean | 
equals(UniversalPolarStereographic left,
      UniversalPolarStereographic right)
Returns  
true if the two instances are exactly equal. | 
boolean | 
equalsEpsilon(UniversalPolarStereographic other,
             double epsilon)
Indicates whether each coordinate value of another instance of this type
    is within the required tolerance of the corresponding coordinate value of this instance. 
 | 
boolean | 
equalsType(UniversalPolarStereographic other)
Indicates whether another instance of this type is exactly equal to this instance. 
 | 
double | 
getEasting()
Gets the eastward distance of the location into the zone. 
 | 
PoleIndicator | 
getHemisphere()
Gets the hemisphere of the coordinates. 
 | 
boolean | 
getIsUndefined()
Gets a value indicating whether or not the  
Easting (get) and Northing (get) coordinates for this
    instance have the value Double.NaN or the Hemisphere (get) is invalid. | 
double | 
getNorthing()
Gets the northward distance of the location into the zone. 
 | 
static UniversalPolarStereographic | 
getUndefined()
Gets a set of  
UniversalPolarStereographic coordinates with
    Easting (get) and Northing (get) values of Double.NaN
    and Hemisphere (get) 0. | 
int | 
hashCode()
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table. 
 | 
static boolean | 
notEquals(UniversalPolarStereographic left,
         UniversalPolarStereographic right)
Returns  
true if the two instances are not exactly equal. | 
String | 
toString()
Returns the string representation of the value of this instance. 
 | 
public UniversalPolarStereographic()
public UniversalPolarStereographic(@Nonnull PoleIndicator hemisphere, double easting, double northing)
UniversalPolarStereographic coordinates from the provided values.hemisphere - The hemisphere indicator.easting - The eastward distance of the location into the zone.northing - The northward distance of the location into the zone.@Nonnull public static UniversalPolarStereographic getUndefined()
UniversalPolarStereographic coordinates with
    Easting (get) and Northing (get) values of Double.NaN
    and Hemisphere (get) 0.
 
    Use IsUndefined (get) to test whether a UniversalPolarStereographic instance
    is undefined since it will return true if the
    Easting (get) or Northing (get) values are Double.NaN
    or the Hemisphere (get) is invalid.
@Nonnull public final PoleIndicator getHemisphere()
public final double getEasting()
public final double getNorthing()
public boolean equals(Object obj)
equals in class Objectobj - The object to compare to this instance.true if obj is an instance of this type and represents the same value as this instance; otherwise false.Object.hashCode(), 
HashMappublic final boolean equalsType(@Nonnull UniversalPolarStereographic other)
equalsType in interface IEquatable<UniversalPolarStereographic>other - The instance to compare to this instance.true if other represents the same value as this instance; otherwise false.public final boolean equalsEpsilon(@Nonnull UniversalPolarStereographic other, double epsilon)
equalsEpsilon in interface IEquatableEpsilon<UniversalPolarStereographic>other - The set of UniversalPolarStereographic coordinates to compare to this instance.epsilon - The limit at which the absolute differences between the coordinate values will not be considered equal.true if the absolute differences are less than or equal to epsilon; otherwise false.public int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object), 
System.identityHashCode(java.lang.Object)public String toString()
public static boolean equals(@Nonnull UniversalPolarStereographic left, @Nonnull UniversalPolarStereographic right)
true if the two instances are exactly equal.left - The instance to compare to right.right - The instance to compare to left.true if left represents the same value as right; otherwise false.public static boolean notEquals(@Nonnull UniversalPolarStereographic left, @Nonnull UniversalPolarStereographic right)
true if the two instances are not exactly equal.left - The instance to compare to right.right - The instance to compare to left.true if left does not represent the same value as right; otherwise false.public final boolean getIsUndefined()
Easting (get) and Northing (get) coordinates for this
    instance have the value Double.NaN or the Hemisphere (get) is invalid.