Class TLcdEllipsoidDistanceUtil

java.lang.Object
com.luciad.ais.geodesy.TLcdEllipsoidDistanceUtil

public class TLcdEllipsoidDistanceUtil extends Object
Utility class to calculate distances on the ellipsoid.
  • Constructor Details

    • TLcdEllipsoidDistanceUtil

      public TLcdEllipsoidDistanceUtil()
  • Method Details

    • distanceAlongArcSegment

      public double distanceAlongArcSegment(ILcdArc aArc, ILcdEllipsoid aEllipsoid)
      Returns the distance along the elliptical arc segment (in meters).
      Parameters:
      aArc - the elliptical arc segment.
      aEllipsoid - the ellipsoid this is defined on.
      Returns:
      the distance along the elliptical arc segment (in meters).
    • distanceAlongArcSegment

      public double distanceAlongArcSegment(ILcdPoint aCenter, double aA, double aB, double aRotAngle, double aStartAngle, double aArcAngle, ILcdEllipsoid aEllipsoid)
      Returns the distance along the elliptical arc segment (in meters).
      Parameters:
      aCenter - center point of the elliptical arc segment.
      aA - semi-major axis (expressed in meters).
      aB - semi-minor axis (expressed in meters).
      aRotAngle - the rotation angle of the major axis (in degrees). The angle is measured from 3 o'clock position, positive counter-clockwise.
      aStartAngle - the start angle of the arc (in degrees). The angle is measured from 3 o'clock position, positive counter-clockwise.
      aArcAngle - the angle over which the arc extends (in degrees). The angle is positive counter-clockwise.
      aEllipsoid - the ellipsoid this is defined on.
      Returns:
      the distance along the elliptical arc segment (in meters).