Package org.mapfish.print.map.tiled
Record Class TilePreparationInfo
java.lang.Object
java.lang.Record
org.mapfish.print.map.tiled.TilePreparationInfo
- Record Components:
singleTiles- tilesimageWidth- image widthimageHeight- image heightgridCoverageOrigin- grid coverage origingridCoverageMaxX- grid coverage max xgridCoverageMaxY- grid coverage max ymapProjection- 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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordInformation per tile (x, y and request). -
Constructor Summary
ConstructorsConstructorDescriptionTilePreparationInfo(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 aTilePreparationInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.doubleReturns the value of thegridCoverageMaxXrecord component.doubleReturns the value of thegridCoverageMaxYrecord component.org.locationtech.jts.geom.CoordinateReturns the value of thegridCoverageOriginrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of theimageHeightrecord component.intReturns the value of theimageWidthrecord component.org.geotools.api.referencing.crs.CoordinateReferenceSystemReturns the value of themapProjectionrecord component.Returns the value of thesingleTilesrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aTilePreparationInforecord class.- Parameters:
singleTiles- the value for thesingleTilesrecord componentimageWidth- the value for theimageWidthrecord componentimageHeight- the value for theimageHeightrecord componentgridCoverageOrigin- the value for thegridCoverageOriginrecord componentgridCoverageMaxX- the value for thegridCoverageMaxXrecord componentgridCoverageMaxY- the value for thegridCoverageMaxYrecord componentmapProjection- the value for themapProjectionrecord component
-
-
Method Details
-
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. -
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. -
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 '=='. -
singleTiles
Returns the value of thesingleTilesrecord component.- Returns:
- the value of the
singleTilesrecord component
-
imageWidth
public int imageWidth()Returns the value of theimageWidthrecord component.- Returns:
- the value of the
imageWidthrecord component
-
imageHeight
public int imageHeight()Returns the value of theimageHeightrecord component.- Returns:
- the value of the
imageHeightrecord component
-
gridCoverageOrigin
public org.locationtech.jts.geom.Coordinate gridCoverageOrigin()Returns the value of thegridCoverageOriginrecord component.- Returns:
- the value of the
gridCoverageOriginrecord component
-
gridCoverageMaxX
public double gridCoverageMaxX()Returns the value of thegridCoverageMaxXrecord component.- Returns:
- the value of the
gridCoverageMaxXrecord component
-
gridCoverageMaxY
public double gridCoverageMaxY()Returns the value of thegridCoverageMaxYrecord component.- Returns:
- the value of the
gridCoverageMaxYrecord component
-
mapProjection
public org.geotools.api.referencing.crs.CoordinateReferenceSystem mapProjection()Returns the value of themapProjectionrecord component.- Returns:
- the value of the
mapProjectionrecord component
-