Class LoxodromeArc


  • public class LoxodromeArc
    extends Loxodrome
    Loxodrome defined by a start and ending point.
    Since:
    11.3
    Author:
    Joe Reed
    • Constructor Detail

      • LoxodromeArc

        public LoxodromeArc​(GeodeticPoint point,
                            GeodeticPoint endPoint,
                            OneAxisEllipsoid body)
        Class constructor where the arc's altitude is the average of the initial and final points.
        Parameters:
        point - the starting point
        endPoint - the ending point
        body - the body on which the loxodrome is defined
      • LoxodromeArc

        public LoxodromeArc​(GeodeticPoint point,
                            GeodeticPoint endPoint,
                            OneAxisEllipsoid body,
                            double altitude)
        Class constructor.
        Parameters:
        point - the starting point
        endPoint - the ending point
        body - the body on which the loxodrome is defined
        altitude - the altitude above the reference body (meters)
    • Method Detail

      • getFinalPoint

        public GeodeticPoint getFinalPoint()
        Get the final point of the arc.
        Returns:
        the ending point of the arc
      • getDistance

        public double getDistance()
        Compute the distance of the arc along the surface of the ellipsoid.
        Returns:
        the distance (meters)
      • calculatePointAlongArc

        public GeodeticPoint calculatePointAlongArc​(double fraction)
        Calculate a point at a specific percentage along the arc.
        Parameters:
        fraction - the fraction along the arc to compute the point
        Returns:
        the point along the arc