Record Class TilePreparationInfo

java.lang.Object
java.lang.Record
org.mapfish.print.map.tiled.TilePreparationInfo
Record Components:
singleTiles - tiles
imageWidth - image width
imageHeight - image height
gridCoverageOrigin - grid coverage origin
gridCoverageMaxX - grid coverage max x
gridCoverageMaxY - grid coverage max y
mapProjection - map projection

public record TilePreparationInfo(List<TilePreparationInfo.SingleTilePreparationInfo> singleTiles, int imageWidth, int imageHeight, org.locationtech.jts.geom.Coordinate gridCoverageOrigin, double gridCoverageMaxX, double gridCoverageMaxY, org.geotools.api.referencing.crs.CoordinateReferenceSystem mapProjection) extends Record
Tile Preparation Task Result.
  • Constructor Details

    • TilePreparationInfo

      public TilePreparationInfo(List<TilePreparationInfo.SingleTilePreparationInfo> singleTiles, int imageWidth, int imageHeight, org.locationtech.jts.geom.Coordinate gridCoverageOrigin, double gridCoverageMaxX, double gridCoverageMaxY, org.geotools.api.referencing.crs.CoordinateReferenceSystem mapProjection)
      Creates an instance of a TilePreparationInfo record class.
      Parameters:
      singleTiles - the value for the singleTiles record component
      imageWidth - the value for the imageWidth record component
      imageHeight - the value for the imageHeight record component
      gridCoverageOrigin - the value for the gridCoverageOrigin record component
      gridCoverageMaxX - the value for the gridCoverageMaxX record component
      gridCoverageMaxY - the value for the gridCoverageMaxY record component
      mapProjection - the value for the mapProjection record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • singleTiles

      Returns the value of the singleTiles record component.
      Returns:
      the value of the singleTiles record component
    • imageWidth

      public int imageWidth()
      Returns the value of the imageWidth record component.
      Returns:
      the value of the imageWidth record component
    • imageHeight

      public int imageHeight()
      Returns the value of the imageHeight record component.
      Returns:
      the value of the imageHeight record component
    • gridCoverageOrigin

      public org.locationtech.jts.geom.Coordinate gridCoverageOrigin()
      Returns the value of the gridCoverageOrigin record component.
      Returns:
      the value of the gridCoverageOrigin record component
    • gridCoverageMaxX

      public double gridCoverageMaxX()
      Returns the value of the gridCoverageMaxX record component.
      Returns:
      the value of the gridCoverageMaxX record component
    • gridCoverageMaxY

      public double gridCoverageMaxY()
      Returns the value of the gridCoverageMaxY record component.
      Returns:
      the value of the gridCoverageMaxY record component
    • mapProjection

      public org.geotools.api.referencing.crs.CoordinateReferenceSystem mapProjection()
      Returns the value of the mapProjection record component.
      Returns:
      the value of the mapProjection record component