| Constructor and Description |
|---|
TiePointGridPointing(GeoCoding geoCoding,
TiePointGrid szGrid,
TiePointGrid saGrid,
TiePointGrid vzGrid,
TiePointGrid vaGrid,
TiePointGrid elGrid)
Constructs a new pointing based on tie-point grids.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGetElevation()
Returns whether or not the elevation is available.
|
boolean |
canGetSunDir()
Returns whether or not the sun direction is available.
|
boolean |
canGetViewDir()
Returns whether or not the viewing direction is available.
|
boolean |
equals(Object obj) |
double |
getElevation(PixelPos pixelPos)
Gets the elevation above the given pixel position.
|
GeoCoding |
getGeoCoding()
Gets the geo-coding.
|
AngularDirection |
getSunDir(PixelPos pixelPos,
AngularDirection sd)
Gets the vector to the sun at the given pixel position as angular direction.
|
AngularDirection |
getViewDir(PixelPos pixelPos,
AngularDirection vd)
Gets the vector to the observer at the given pixel position as angular direction.
|
int |
hashCode() |
public TiePointGridPointing(GeoCoding geoCoding, TiePointGrid szGrid, TiePointGrid saGrid, TiePointGrid vzGrid, TiePointGrid vaGrid, TiePointGrid elGrid)
geoCoding - the geo-coding, must not be nullszGrid - the sun zenith tie-point grid, can be nullsaGrid - the sun azimuth tie-point grid, can be nullvzGrid - the viewing zenith tie-point grid, can be nullvaGrid - the viewing azimuth tie-point grid, can be nullelGrid - the elevation tie-point grid, can be nullpublic final GeoCoding getGeoCoding()
PointinggetGeoCoding in interface Pointingpublic final AngularDirection getSunDir(PixelPos pixelPos, AngularDirection sd)
PointinggetSunDir in interface PointingpixelPos - the pixel positionsd - the return value to be re-used. If null, a new AngularDirection will be returnedPointing.canGetSunDir()public final AngularDirection getViewDir(PixelPos pixelPos, AngularDirection vd)
PointinggetViewDir in interface PointingpixelPos - the pixel positionvd - the return value to be re-used. If null, a new AngularDirection will be returnedPointing.canGetViewDir()public double getElevation(PixelPos pixelPos)
Pointing
This method is called by the Orthorectifier in the case that no
ElevationModel is available.
Note that a particular implementation is not able to retrieve a meaningful elevation, it should return zero.
getElevation in interface PointingpixelPos - the pixel positionPointing.canGetElevation()public final boolean canGetElevation()
PointingcanGetElevation in interface Pointingpublic final boolean canGetSunDir()
PointingcanGetSunDir in interface Pointingpublic final boolean canGetViewDir()
PointingcanGetViewDir in interface PointingCopyright © 2014–2015 European Space Agency (ESA). All rights reserved.