Interface BodyShape

    • Method Detail

      • getBodyFrame

        Frame getBodyFrame()
        Get body frame related to body shape.
        Returns:
        body frame related to body shape
      • getIntersectionPoint

        GeodeticPoint getIntersectionPoint​(org.hipparchus.geometry.euclidean.threed.Line line,
                                           org.hipparchus.geometry.euclidean.threed.Vector3D close,
                                           Frame frame,
                                           AbsoluteDate date)
        Get the intersection point of a line with the surface of the body.

        A line may have several intersection points with a closed surface (we consider the one point case as a degenerated two points case). The close parameter is used to select which of these points should be returned. The selected point is the one that is closest to the close point.

        Parameters:
        line - test line (may intersect the body or not)
        close - point used for intersections selection
        frame - frame in which line is expressed
        date - date of the line in given frame
        Returns:
        intersection point at altitude zero or null if the line does not intersect the surface
      • getIntersectionPoint

        <T extends org.hipparchus.RealFieldElement<T>> FieldGeodeticPoint<T> getIntersectionPoint​(org.hipparchus.geometry.euclidean.threed.FieldLine<T> line,
                                                                                                  org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> close,
                                                                                                  Frame frame,
                                                                                                  FieldAbsoluteDate<T> date)
        Get the intersection point of a line with the surface of the body.

        A line may have several intersection points with a closed surface (we consider the one point case as a degenerated two points case). The close parameter is used to select which of these points should be returned. The selected point is the one that is closest to the close point.

        Type Parameters:
        T - type of the field elements
        Parameters:
        line - test line (may intersect the body or not)
        close - point used for intersections selection
        frame - frame in which line is expressed
        date - date of the line in given frame
        Returns:
        intersection point at altitude zero or null if the line does not intersect the surface
        Since:
        9.0
      • projectToGround

        org.hipparchus.geometry.euclidean.threed.Vector3D projectToGround​(org.hipparchus.geometry.euclidean.threed.Vector3D point,
                                                                          AbsoluteDate date,
                                                                          Frame frame)
        Project a point to the ground.
        Parameters:
        point - point to project
        date - current date
        frame - frame in which moving point is expressed
        Returns:
        ground point exactly at the local vertical of specified point, in the same frame as specified point
        Since:
        7.0
        See Also:
        projectToGround(TimeStampedPVCoordinates, Frame)
      • transform

        GeodeticPoint transform​(org.hipparchus.geometry.euclidean.threed.Vector3D point,
                                Frame frame,
                                AbsoluteDate date)
        Transform a Cartesian point to a surface-relative point.
        Parameters:
        point - Cartesian point
        frame - frame in which Cartesian point is expressed
        date - date of the computation (used for frames conversions)
        Returns:
        point at the same location but as a surface-relative point
      • transform

        <T extends org.hipparchus.RealFieldElement<T>> FieldGeodeticPoint<T> transform​(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> point,
                                                                                       Frame frame,
                                                                                       FieldAbsoluteDate<T> date)
        Transform a Cartesian point to a surface-relative point.
        Type Parameters:
        T - type fo the filed elements
        Parameters:
        point - Cartesian point
        frame - frame in which Cartesian point is expressed
        date - date of the computation (used for frames conversions)
        Returns:
        point at the same location but as a surface-relative point
        Since:
        9.0
      • transform

        org.hipparchus.geometry.euclidean.threed.Vector3D transform​(GeodeticPoint point)
        Transform a surface-relative point to a Cartesian point.
        Parameters:
        point - surface-relative point
        Returns:
        point at the same location but as a Cartesian point
      • transform

        <T extends org.hipparchus.RealFieldElement<T>> org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> transform​(FieldGeodeticPoint<T> point)
        Transform a surface-relative point to a Cartesian point.
        Type Parameters:
        T - type fo the filed elements
        Parameters:
        point - surface-relative point
        Returns:
        point at the same location but as a Cartesian point
        Since:
        9.0