Record Class PMTileGrid.PMTile
java.lang.Object
java.lang.Record
org.jorigin.geotools.map.PMTileGrid.PMTile
- Record Components:
level- PM zoom levelcol- tile column index (0 = westmost at origin)row- tile row index (0 = northmost at origin)extent- world envelope covered by this tile, in EPSG:3857
- Enclosing class:
PMTileGrid
public static record PMTileGrid.PMTile(int level, int col, int row, org.geotools.geometry.jts.ReferencedEnvelope extent)
extends Record
A grid-aligned PM tile descriptor.
-
Constructor Summary
ConstructorsConstructorDescriptionPMTile(int level, int col, int row, org.geotools.geometry.jts.ReferencedEnvelope extent) Creates an instance of aPMTilerecord class. -
Method Summary
Modifier and TypeMethodDescriptionintcol()Returns the value of thecolrecord component.final booleanIndicates whether some other object is "equal to" this one.org.geotools.geometry.jts.ReferencedEnvelopeextent()Returns the value of theextentrecord component.final inthashCode()Returns a hash code value for this object.intlevel()Returns the value of thelevelrecord component.introw()Returns the value of therowrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PMTile
public PMTile(int level, int col, int row, org.geotools.geometry.jts.ReferencedEnvelope extent) Creates an instance of aPMTilerecord class.
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
level
-
col
-
row
-
extent
-