Class PixelScale
Object
PixelScale
This class is a placeholder for defining exact affine transformations between raster and model space.
Quoting the geotiff spec:
ModelPixelScaleTag: Tag = 33550 Type = DOUBLE (IEEE Double precision) N = 3 Owner: SoftDeskThis tag may be used to specify the size of raster pixel spacing in the model space units, when the raster space can be embedded in the model space coordinate system without rotation, and consists of the following 3 values:
ModelPixelScaleTag = (ScaleX, ScaleY, ScaleZ)where ScaleX and ScaleY give the horizontal and vertical spacing of raster pixels. The ScaleZ is primarily used to map the pixel value of a digital elevation model into the correct Z-scale, and so for most other purposes this value should be zero (since most model spaces are 2-D, with Z=0).
A single tiepoint in the ModelTiepointTag, together with this tag, completely determine the relationship between raster and model space
- Since:
- 2.3
- Author:
- Simone Giannecchini, GeoSolutions
-
Constructor Details
-
PixelScale
public PixelScale(double scaleX, double scaleY, double scaleZ) -
PixelScale
public PixelScale()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
getScaleX
public double getScaleX() -
setScaleX
public void setScaleX(double scaleX) -
getScaleY
public double getScaleY() -
setScaleY
public void setScaleY(double scaleY) -
getScaleZ
public double getScaleZ() -
setScaleZ
public void setScaleZ(double scaleZ) -
getValues
public double[] getValues() -
isSet
public boolean isSet() -
isSetExtended
public boolean isSetExtended()
-