Record Class BonneCoordinate.BonneParameters
java.lang.Object
java.lang.Record
org.episteme.natural.earth.coordinates.BonneCoordinate.BonneParameters
- Enclosing class:
BonneCoordinate
public static record BonneCoordinate.BonneParameters(double standardParallel, double centralMeridian, double falseEasting, double falseNorthing)
extends Record
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
ConstructorsConstructorDescriptionBonneParameters(double standardParallel, double centralMeridian, double falseEasting, double falseNorthing) Creates an instance of aBonneParametersrecord 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 thestandardParallelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BonneParameters
public BonneParameters(double standardParallel, double centralMeridian, double falseEasting, double falseNorthing) Creates an instance of aBonneParametersrecord class.- Parameters:
standardParallel- the value for thestandardParallelrecord 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. -
standardParallel
public double standardParallel()Returns the value of thestandardParallelrecord component.- Returns:
- the value of the
standardParallelrecord 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
-