public class TLcdEarthRasterAsset extends TLcdEarthAsset implements ILcdEarthRasterAsset
ILcdEarthRasterAsset
.Constructor and Description |
---|
TLcdEarthRasterAsset(String aSourceName,
ILcdModelDecoder aModelDecoder,
ILcdBounds aBounds,
ILcdEarthTileSetCoverage.CoverageType aCoverageType,
Date aModificationDate,
double aPixelDensity) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o)
If the given asset is an
TLcdEarthRasterAsset , its pixel density is compared to this
raster asset's pixel density. |
boolean |
equals(Object o)
Returns true if the given object is an earth raster asset, equals this earth asset and compares
equal to this earth raster asset according to the
compareTo(Object) method. |
double |
getPixelDensity()
Returns the asset's pixel density in pixels per square degree.
|
int |
hashCode() |
getBounds, getCoverageType, getModelDecoder, getModificationDate, getSortOrder, getSourceName, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getBounds, getCoverageType, getModelDecoder, getModificationDate, getSourceName
public TLcdEarthRasterAsset(String aSourceName, ILcdModelDecoder aModelDecoder, ILcdBounds aBounds, ILcdEarthTileSetCoverage.CoverageType aCoverageType, Date aModificationDate, double aPixelDensity)
public double getPixelDensity()
ILcdEarthRasterAsset
getPixelDensity
in interface ILcdEarthRasterAsset
public int compareTo(Object o)
TLcdEarthRasterAsset
, its pixel density is compared to this
raster asset's pixel density. In other words, this raster asset is less than the given raster asset if
the pixel density of this raster asset is larger than the given raster asset's pixel density).
Otherwise the default comparison is used.compareTo
in interface Comparable
compareTo
in class TLcdEarthAsset
o
- The object to compare this raster asset to.TLcdEarthAsset.compareTo(java.lang.Object)
,
Comparable.compareTo(Object)
public boolean equals(Object o)
compareTo(Object)
method.equals
in class TLcdEarthAsset
o
- The object to compare this raster asset to.compareTo(Object)
public int hashCode()
hashCode
in class TLcdEarthAsset