Package llnl.gnem.core.util.Geometry
Class Ellipse
java.lang.Object
llnl.gnem.core.util.Geometry.Ellipse
- Author:
- matzel1
-
Constructor Summary
ConstructorDescriptionThe projection of an ellipse onto the Earth Note all distances, including focal distance, semimajor and semiminor axes, refer to the path along the Earth's surfaceEllipse
(org.apache.commons.math3.geometry.euclidean.threed.Vector3D focus1, org.apache.commons.math3.geometry.euclidean.threed.Vector3D focus2, org.apache.commons.math3.geometry.euclidean.threed.Vector3D point) A flat ellipse in Cartesian coordinates -
Method Summary
-
Constructor Details
-
Ellipse
public Ellipse(org.apache.commons.math3.geometry.euclidean.threed.Vector3D focus1, org.apache.commons.math3.geometry.euclidean.threed.Vector3D focus2, org.apache.commons.math3.geometry.euclidean.threed.Vector3D point) A flat ellipse in Cartesian coordinates- Parameters:
focus1
-focus2
-point
-
-
Ellipse
The projection of an ellipse onto the Earth Note all distances, including focal distance, semimajor and semiminor axes, refer to the path along the Earth's surface- Parameters:
focus1
- (lat, lon) of focus 1focus2
- (lat, lon) of focus 2point
- (lat, lon) of a point on the ellipse surrounding focus1 and focus2
-
-
Method Details
-
getSemiMajorAxis
public double getSemiMajorAxis() -
getSemiMinorAxis
public double getSemiMinorAxis() -
getEccentricity
public double getEccentricity() -
getArea
public double getArea() -
getFocalDistance
public double getFocalDistance()- Returns:
- the distance from the focus to the center of the ellipse
-