Class Ellipse

java.lang.Object
llnl.gnem.core.util.Geometry.Ellipse

public class Ellipse extends Object
Author:
matzel1
  • Constructor Summary

    Constructors
    Constructor
    Description
    Ellipse(Vertex focus1, Vertex focus2, Vertex point)
    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
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    double
     
    double
     
    double
     
    double
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public Ellipse(Vertex focus1, Vertex focus2, Vertex point)
      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 1
      focus2 - (lat, lon) of focus 2
      point - (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