public final class PixelScale extends Object
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
Constructor and Description |
---|
PixelScale() |
PixelScale(double scaleX,
double scaleY,
double scaleZ) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that) |
double |
getScaleX() |
double |
getScaleY() |
double |
getScaleZ() |
double[] |
getValues() |
int |
hashCode() |
boolean |
isSet() |
boolean |
isSetExtended() |
void |
setScaleX(double scaleX) |
void |
setScaleY(double scaleY) |
void |
setScaleZ(double scaleZ) |
String |
toString() |
public PixelScale(double scaleX, double scaleY, double scaleZ)
public PixelScale()
public double getScaleX()
public void setScaleX(double scaleX)
public double getScaleY()
public void setScaleY(double scaleY)
public double getScaleZ()
public void setScaleZ(double scaleZ)
public double[] getValues()
public boolean isSet()
public boolean isSetExtended()
Copyright © 1996–2019 Geotools. All rights reserved.