com.supermap.services.tilesource
Class VersionUpdate
- java.lang.Object
-
- com.supermap.services.tilesource.VersionUpdate
-
public class VersionUpdate extends java.lang.ObjectSlice version update information. Refers to the update information based on the parent version.
- Since:
- 6.1.3
-
-
Field Summary
Fields Modifier and Type Field and Description Rectangle2DboundsUpdate rangedouble[]resolutionsUpdated resolution arraydouble[]scaleDenominatorsThe updated scale of the denominator array
-
Constructor Summary
Constructors Constructor and Description VersionUpdate()VersionUpdate(Rectangle2D bounds, double[] scaleDenominators, double[] resolutions)VersionUpdate(VersionUpdate versionUpdate)
-
Method Summary
Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)Compares whether the current objectVersionUpdateis the same as the incoming objectinthashCode()Gets the hash code value for this objectVersionUpdatebooleantileUpdated(Point2D original, int tileWidthInPix, Tile tile)Determines whether the current update contains the given slice.
-
-
-
Field Detail
-
bounds
public Rectangle2D bounds
Update range
-
scaleDenominators
public double[] scaleDenominators
The updated scale of the denominator array
-
resolutions
public double[] resolutions
Updated resolution array
-
-
Constructor Detail
-
VersionUpdate
public VersionUpdate()
-
VersionUpdate
public VersionUpdate(VersionUpdate versionUpdate)
-
VersionUpdate
public VersionUpdate(Rectangle2D bounds, double[] scaleDenominators, double[] resolutions)
-
-
Method Detail
-
hashCode
public int hashCode()
Gets the hash code value for this object
VersionUpdate- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
Compares whether the current object
VersionUpdateis the same as the incoming object- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object to be compared.
-
tileUpdated
public boolean tileUpdated(Point2D original, int tileWidthInPix, Tile tile)
Determines whether the current update contains the given slice.
- Parameters:
original- origintileWidthInPix- Tile pixel widthtile- Tiles- Returns:
- whether to be updated
- Since:
- 6.1.3
-
-