Package com.luciad.ais.geodesy
Class TLcdEllipsoidDistanceUtil
java.lang.Object
com.luciad.ais.geodesy.TLcdEllipsoidDistanceUtil
Utility class to calculate distances on the ellipsoid.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
distanceAlongArcSegment
(ILcdArc aArc, ILcdEllipsoid aEllipsoid) Returns the distance along the elliptical arc segment (in meters).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).
-
Constructor Details
-
TLcdEllipsoidDistanceUtil
public TLcdEllipsoidDistanceUtil()
-
-
Method Details
-
distanceAlongArcSegment
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).
-