public class VersionUpdate
extends java.lang.Object
Slice version update information. Refers to the update information based on the parent version.
Modifier and Type | Field and Description |
---|---|
Rectangle2D |
bounds
Update range
|
double[] |
resolutions
Updated resolution array
|
double[] |
scaleDenominators
The updated scale of the denominator array
|
Constructor and Description |
---|
VersionUpdate() |
VersionUpdate(Rectangle2D bounds, double[] scaleDenominators, double[] resolutions) |
VersionUpdate(VersionUpdate versionUpdate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares whether the current object
VersionUpdate is the same as the incoming object |
int |
hashCode()
Gets the hash code value for this object
VersionUpdate |
boolean |
tileUpdated(Point2D original, int tileWidthInPix, Tile tile)
Determines whether the current update contains the given slice.
|
public Rectangle2D bounds
public double[] scaleDenominators
public double[] resolutions
public VersionUpdate()
public VersionUpdate(VersionUpdate versionUpdate)
public VersionUpdate(Rectangle2D bounds, double[] scaleDenominators, double[] resolutions)
public int hashCode()
Gets the hash code value for this object VersionUpdate
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
Compares whether the current object VersionUpdate
is the same as the incoming object
equals
in class java.lang.Object
obj
- the object to be compared.public boolean tileUpdated(Point2D original, int tileWidthInPix, Tile tile)
Determines whether the current update contains the given slice.
original
- origintileWidthInPix
- Tile pixel widthtile
- Tiles