Record Class AlbersEqualAreaCoordinate.AlbersParameters
java.lang.Object
java.lang.Record
org.episteme.natural.earth.coordinates.AlbersEqualAreaCoordinate.AlbersParameters
- Enclosing class:
AlbersEqualAreaCoordinate
public static record AlbersEqualAreaCoordinate.AlbersParameters(double standardParallel1, double standardParallel2, double latitudeOfOrigin, double centralMeridian, double falseEasting, double falseNorthing)
extends Record
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
ConstructorsConstructorDescriptionAlbersParameters(double standardParallel1, double standardParallel2, double latitudeOfOrigin, double centralMeridian, double falseEasting, double falseNorthing) Creates an instance of aAlbersParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of thecentralMeridianrecord component.final booleanIndicates whether some other object is "equal to" this one.doubleReturns the value of thefalseEastingrecord component.doubleReturns the value of thefalseNorthingrecord component.final inthashCode()Returns a hash code value for this object.doubleReturns the value of thelatitudeOfOriginrecord component.doubleReturns the value of thestandardParallel1record component.doubleReturns the value of thestandardParallel2record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AlbersParameters
public AlbersParameters(double standardParallel1, double standardParallel2, double latitudeOfOrigin, double centralMeridian, double falseEasting, double falseNorthing) Creates an instance of aAlbersParametersrecord class.- Parameters:
standardParallel1- the value for thestandardParallel1record componentstandardParallel2- the value for thestandardParallel2record componentlatitudeOfOrigin- the value for thelatitudeOfOriginrecord componentcentralMeridian- the value for thecentralMeridianrecord componentfalseEasting- the value for thefalseEastingrecord componentfalseNorthing- the value for thefalseNorthingrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
standardParallel1
public double standardParallel1()Returns the value of thestandardParallel1record component.- Returns:
- the value of the
standardParallel1record component
-
standardParallel2
public double standardParallel2()Returns the value of thestandardParallel2record component.- Returns:
- the value of the
standardParallel2record component
-
latitudeOfOrigin
public double latitudeOfOrigin()Returns the value of thelatitudeOfOriginrecord component.- Returns:
- the value of the
latitudeOfOriginrecord component
-
centralMeridian
public double centralMeridian()Returns the value of thecentralMeridianrecord component.- Returns:
- the value of the
centralMeridianrecord component
-
falseEasting
public double falseEasting()Returns the value of thefalseEastingrecord component.- Returns:
- the value of the
falseEastingrecord component
-
falseNorthing
public double falseNorthing()Returns the value of thefalseNorthingrecord component.- Returns:
- the value of the
falseNorthingrecord component
-