public interface Pointing
Pointing
wraps a GeoCoding
and optionally provides more geometry
information such as sun direction, satellite (view) direction and elevation at a given pixel position.
All Pointing
implementations should override
the equals()
and hashCode()
methods.
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.
|
double |
getElevation(PixelPos pixelPos)
Gets the elevation above the given pixel position.
|
GeoCoding |
getGeoCoding()
Gets the geo-coding.
|
AngularDirection |
getSunDir(PixelPos pixelPos,
AngularDirection angularDirection)
Gets the vector to the sun at the given pixel position as angular direction.
|
AngularDirection |
getViewDir(PixelPos pixelPos,
AngularDirection angularDirection)
Gets the vector to the observer at the given pixel position as angular direction.
|
GeoCoding getGeoCoding()
AngularDirection getSunDir(PixelPos pixelPos, AngularDirection angularDirection)
pixelPos
- the pixel positionangularDirection
- the return value to be re-used. If null, a new AngularDirection
will be returnedcanGetSunDir()
AngularDirection getViewDir(PixelPos pixelPos, AngularDirection angularDirection)
pixelPos
- the pixel positionangularDirection
- the return value to be re-used. If null, a new AngularDirection
will be returnedcanGetViewDir()
double getElevation(PixelPos pixelPos)
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.
pixelPos
- the pixel positioncanGetElevation()
boolean canGetSunDir()
boolean canGetViewDir()
boolean canGetElevation()
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.