Record Class ProjectedMeters
java.lang.Object
java.lang.Record
org.maplibre.nativeffi.geo.ProjectedMeters
Spherical Mercator coordinate in projected meters.
-
Constructor Summary
ConstructorsConstructorDescriptionProjectedMeters(double northing, double easting) Creates an instance of aProjectedMetersrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoubleeasting()Returns the value of theeastingrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doublenorthing()Returns the value of thenorthingrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProjectedMeters
public ProjectedMeters(double northing, double easting) Creates an instance of aProjectedMetersrecord class.- Parameters:
northing- the value for thenorthingrecord componenteasting- the value for theeastingrecord 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. -
northing
public double northing()Returns the value of thenorthingrecord component.- Returns:
- the value of the
northingrecord component
-
easting
public double easting()Returns the value of theeastingrecord component.- Returns:
- the value of the
eastingrecord component
-