Record Class CassiniSoldnerCoordinate.CassiniParameters
java.lang.Object
java.lang.Record
org.episteme.natural.earth.coordinates.CassiniSoldnerCoordinate.CassiniParameters
- Enclosing class:
CassiniSoldnerCoordinate
public static record CassiniSoldnerCoordinate.CassiniParameters(double latitudeOfOrigin, double centralMeridian, double falseEasting, double falseNorthing)
extends Record
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
ConstructorsConstructorDescriptionCassiniParameters(double latitudeOfOrigin, double centralMeridian, double falseEasting, double falseNorthing) Creates an instance of aCassiniParametersrecord 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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CassiniParameters
public CassiniParameters(double latitudeOfOrigin, double centralMeridian, double falseEasting, double falseNorthing) Creates an instance of aCassiniParametersrecord class.- Parameters:
latitudeOfOrigin- 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. -
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
-