Class Segment
- java.lang.Object
-
- org.orekit.models.earth.ionosphere.nequick.Segment
-
public class Segment extends Object
Performs the computation of the coordinates along the integration path.- Since:
- 13.0
- Author:
- Bryan Cazabonne
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetInterval()Get the integration step.intgetNbPoints()Get number of points.GeodeticPointgetPoint(int index)Get point along the ray.
-
-
-
Constructor Detail
-
Segment
public Segment(int n, Ray ray, double s1, double s2)Constructor.- Parameters:
n- number of intervals for integration (2 points per interval, hence 2n points will be generated)ray- ray-perigee parameterss1- lower boundary of integrations2- upper boundary for integration
-
-
Method Detail
-
getPoint
public GeodeticPoint getPoint(int index)
Get point along the ray.- Parameters:
index- point index (between O included andgetNbPoints()excluded)- Returns:
- point on ray
- Since:
- 13.0
-
getNbPoints
public int getNbPoints()
Get number of points.Note there are 2 points per interval, so
indexmust be between 0 (included) and 2n (excluded) for a segment built withnintervals- Returns:
- number of points
-
getInterval
public double getInterval()
Get the integration step.- Returns:
- the integration step in meters
-
-