Record Class DatumTransformation.HelmertParameters
java.lang.Object
java.lang.Record
org.episteme.natural.earth.coordinates.DatumTransformation.HelmertParameters
- Enclosing class:
DatumTransformation
public static record DatumTransformation.HelmertParameters(double dx, double dy, double dz, double rx, double ry, double rz, double s)
extends Record
Parameters for a Helmert 7-parameter transformation.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
ConstructorsConstructorDescriptionHelmertParameters(double dx, double dy, double dz, double rx, double ry, double rz, double s) Creates an instance of aHelmertParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubledx()Returns the value of thedxrecord component.doubledy()Returns the value of thedyrecord component.doubledz()Returns the value of thedzrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doublerx()Returns the value of therxrecord component.doublery()Returns the value of theryrecord component.doublerz()Returns the value of therzrecord component.doubles()Returns the value of thesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HelmertParameters
public HelmertParameters(double dx, double dy, double dz, double rx, double ry, double rz, double s) Creates an instance of aHelmertParametersrecord class.- Parameters:
dx- the value for thedxrecord componentdy- the value for thedyrecord componentdz- the value for thedzrecord componentrx- the value for therxrecord componentry- the value for theryrecord componentrz- the value for therzrecord components- the value for thesrecord 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. -
dx
public double dx()Returns the value of thedxrecord component.- Returns:
- the value of the
dxrecord component
-
dy
public double dy()Returns the value of thedyrecord component.- Returns:
- the value of the
dyrecord component
-
dz
public double dz()Returns the value of thedzrecord component.- Returns:
- the value of the
dzrecord component
-
rx
public double rx()Returns the value of therxrecord component.- Returns:
- the value of the
rxrecord component
-
ry
public double ry()Returns the value of theryrecord component.- Returns:
- the value of the
ryrecord component
-
rz
public double rz()Returns the value of therzrecord component.- Returns:
- the value of the
rzrecord component
-
s
public double s()Returns the value of thesrecord component.- Returns:
- the value of the
srecord component
-