Class Ellipse

    • Constructor Summary

      Constructors 
      Constructor Description
      Ellipse​(org.hipparchus.geometry.euclidean.threed.Vector3D center, org.hipparchus.geometry.euclidean.threed.Vector3D u, org.hipparchus.geometry.euclidean.threed.Vector3D v, double a, double b, Frame frame)
      Simple constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getA()
      Get the semi major axis.
      double getB()
      Get the semi minor axis.
      org.hipparchus.geometry.euclidean.threed.Vector3D getCenter()
      Get the center of the 2D ellipse.
      org.hipparchus.geometry.euclidean.twod.Vector2D getCenterOfCurvature​(org.hipparchus.geometry.euclidean.twod.Vector2D point)
      Find the center of curvature (point on the evolute) at the nadir of a point.
      Frame getFrame()
      Get the defining frame.
      org.hipparchus.geometry.euclidean.threed.Vector3D getU()
      Get the unit vector along the major axis.
      org.hipparchus.geometry.euclidean.threed.Vector3D getV()
      Get the unit vector along the minor axis.
      org.hipparchus.geometry.euclidean.threed.Vector3D pointAt​(double theta)
      Get a point of the 2D ellipse.
      org.hipparchus.geometry.euclidean.twod.Vector2D projectToEllipse​(org.hipparchus.geometry.euclidean.twod.Vector2D p)
      Find the closest ellipse point.
      TimeStampedPVCoordinates projectToEllipse​(TimeStampedPVCoordinates pv)
      Project position-velocity-acceleration on an ellipse.
      org.hipparchus.geometry.euclidean.twod.Vector2D toPlane​(org.hipparchus.geometry.euclidean.threed.Vector3D p)
      Project a point to the ellipse plane.
      org.hipparchus.geometry.euclidean.threed.Vector3D toSpace​(org.hipparchus.geometry.euclidean.twod.Vector2D p)
      Create a point from its ellipse-relative coordinates.
    • Constructor Detail

      • Ellipse

        public Ellipse​(org.hipparchus.geometry.euclidean.threed.Vector3D center,
                       org.hipparchus.geometry.euclidean.threed.Vector3D u,
                       org.hipparchus.geometry.euclidean.threed.Vector3D v,
                       double a,
                       double b,
                       Frame frame)
        Simple constructor.
        Parameters:
        center - center of the 2D ellipse
        u - unit vector along the major axis
        v - unit vector along the minor axis
        a - semi major axis
        b - semi minor axis
        frame - frame in which the ellipse is defined
    • Method Detail

      • getCenter

        public org.hipparchus.geometry.euclidean.threed.Vector3D getCenter()
        Get the center of the 2D ellipse.
        Returns:
        center of the 2D ellipse
      • getU

        public org.hipparchus.geometry.euclidean.threed.Vector3D getU()
        Get the unit vector along the major axis.
        Returns:
        unit vector along the major axis
      • getV

        public org.hipparchus.geometry.euclidean.threed.Vector3D getV()
        Get the unit vector along the minor axis.
        Returns:
        unit vector along the minor axis
      • getA

        public double getA()
        Get the semi major axis.
        Returns:
        semi major axis
      • getB

        public double getB()
        Get the semi minor axis.
        Returns:
        semi minor axis
      • getFrame

        public Frame getFrame()
        Get the defining frame.
        Returns:
        defining frame
      • pointAt

        public org.hipparchus.geometry.euclidean.threed.Vector3D pointAt​(double theta)
        Get a point of the 2D ellipse.
        Parameters:
        theta - angular parameter on the ellipse (really the eccentric anomaly)
        Returns:
        ellipse point at theta, in underlying ellipsoid frame
      • toSpace

        public org.hipparchus.geometry.euclidean.threed.Vector3D toSpace​(org.hipparchus.geometry.euclidean.twod.Vector2D p)
        Create a point from its ellipse-relative coordinates.
        Parameters:
        p - point defined with respect to ellipse
        Returns:
        point defined with respect to 3D frame
        See Also:
        toPlane(Vector3D)
      • toPlane

        public org.hipparchus.geometry.euclidean.twod.Vector2D toPlane​(org.hipparchus.geometry.euclidean.threed.Vector3D p)
        Project a point to the ellipse plane.
        Parameters:
        p - point defined with respect to 3D frame
        Returns:
        point defined with respect to ellipse
        See Also:
        toSpace(Vector2D)
      • projectToEllipse

        public org.hipparchus.geometry.euclidean.twod.Vector2D projectToEllipse​(org.hipparchus.geometry.euclidean.twod.Vector2D p)
        Find the closest ellipse point.
        Parameters:
        p - point in the ellipse plane to project on the ellipse itself
        Returns:
        closest point belonging to 2D meridian ellipse
      • projectToEllipse

        public TimeStampedPVCoordinates projectToEllipse​(TimeStampedPVCoordinates pv)
        Project position-velocity-acceleration on an ellipse.
        Parameters:
        pv - position-velocity-acceleration to project, in the reference frame
        Returns:
        projected position-velocity-acceleration
      • getCenterOfCurvature

        public org.hipparchus.geometry.euclidean.twod.Vector2D getCenterOfCurvature​(org.hipparchus.geometry.euclidean.twod.Vector2D point)
        Find the center of curvature (point on the evolute) at the nadir of a point.
        Parameters:
        point - point in the ellipse plane
        Returns:
        center of curvature of the ellipse directly at point nadir
        Since:
        7.1