Package org.orekit.rugged.intersection
Interface IntersectionAlgorithm
-
- All Known Implementing Classes:
BasicScanAlgorithm
,ConstantElevationAlgorithm
,DuvenhageAlgorithm
,IgnoreDEMAlgorithm
public interface IntersectionAlgorithm
Interface for Digital Elevation Model intersection algorithm.- Author:
- Luc Maisonobe, Guylaine Prat
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AlgorithmId
getAlgorithmId()
Get the algorithmId.double
getElevation(double latitude, double longitude)
Get elevation at a given ground point.NormalizedGeodeticPoint
intersection(ExtendedEllipsoid ellipsoid, Vector3D position, Vector3D los)
Compute intersection of line with Digital Elevation Model.NormalizedGeodeticPoint
refineIntersection(ExtendedEllipsoid ellipsoid, Vector3D position, Vector3D los, NormalizedGeodeticPoint closeGuess)
Refine intersection of line with Digital Elevation Model.
-
-
-
Method Detail
-
intersection
NormalizedGeodeticPoint intersection(ExtendedEllipsoid ellipsoid, Vector3D position, Vector3D los)
Compute intersection of line with Digital Elevation Model.- Parameters:
ellipsoid
- reference ellipsoidposition
- pixel position in ellipsoid framelos
- pixel line-of-sight in ellipsoid frame- Returns:
- point at which the line first enters ground
-
refineIntersection
NormalizedGeodeticPoint refineIntersection(ExtendedEllipsoid ellipsoid, Vector3D position, Vector3D los, NormalizedGeodeticPoint closeGuess)
Refine intersection of line with Digital Elevation Model.This method is used to refine an intersection when a close guess is already known. The intersection is typically looked for by a direct
cell intersection
in the tile which already contains the close guess, or any similar very fast algorithm.- Parameters:
ellipsoid
- reference ellipsoidposition
- pixel position in ellipsoid framelos
- pixel line-of-sight in ellipsoid framecloseGuess
- guess close to the real intersection- Returns:
- point at which the line first enters ground
-
getElevation
double getElevation(double latitude, double longitude)
Get elevation at a given ground point.- Parameters:
latitude
- ground point latitudelongitude
- ground point longitude- Returns:
- elevation at specified point
-
getAlgorithmId
AlgorithmId getAlgorithmId()
Get the algorithmId.- Returns:
- the algorithmId
- Since:
- 2.2
-
-