Package com.luciad.ais.geodesy
Class TLcdEllipsoidCircleUtil
java.lang.Object
com.luciad.ais.geodesy.TLcdEllipsoidCircleUtil
Utility class to calculate the geometry of a circle on the ellipsoid.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
findCenter
(ILcdPoint aP1, ILcdPoint aP2, ILcdPoint aP3, ILcdEllipsoid aEllipsoid, ILcd2DEditablePoint aResult) Calculates the center point and the radius of a circle passing through 3 given points on an ellipsoid.
-
Constructor Details
-
TLcdEllipsoidCircleUtil
public TLcdEllipsoidCircleUtil()
-
-
Method Details
-
findCenter
public static double findCenter(ILcdPoint aP1, ILcdPoint aP2, ILcdPoint aP3, ILcdEllipsoid aEllipsoid, ILcd2DEditablePoint aResult) Calculates the center point and the radius of a circle passing through 3 given points on an ellipsoid.- Parameters:
aP1
- a point on the circle.aP2
- a point on the circle.aP3
- a point on the circle.aEllipsoid
- ellipsoid on which the points are defined.aResult
- the center point of the circle as side effect.- Returns:
- the radius of the circle (in meters).
-