public interface EllipsoidBodyShape extends GeometricBodyShape
Extended interface for spheroid model to represent celestial bodies shape : extends the GeometricBodyShape
interface by adding getters to access the spheroid parameters.
GeometricBodyShape| Modifier and Type | Method and Description |
|---|---|
double |
getApparentRadius(Vector3D position,
Frame frame,
AbsoluteDate date,
PVCoordinatesProvider occultedBody)
Calculate the apparent radius.
|
double |
getConjugateRadius()
Return conjugate radius (minor semi axis)
|
IEllipsoid |
getEllipsoid()
Return the
spheroid object |
double |
getEquatorialRadius()
Get the equatorial radius of the body.
|
double |
getFlattening()
Return the flattening
|
GeodeticPoint |
getIntersectionPoint(Line line,
Vector3D close,
Frame frame,
AbsoluteDate date,
double altitude)
Get the intersection point of a line with the surface of the body for a given altitude.
|
Vector3D |
getNormal(Vector3D point)
Return the normal vector to the surface from the ellipsoid
|
double |
getTransverseRadius()
Return transverse radius (major semi axis)
|
distanceTo, getIntersectionPoints, getLocalRadius, getNamegetBodyFrame, getIntersectionPoint, transform, transformgetPVCoordinatesdouble getEquatorialRadius()
double getTransverseRadius()
double getConjugateRadius()
double getApparentRadius(Vector3D position, Frame frame, AbsoluteDate date, PVCoordinatesProvider occultedBody) throws PatriusException
position - spacecraft positionframe - frame in which position is expresseddate - date of positionoccultedBody - body occulted by thisPatriusException - if PVCoordinatesProvider computation failsdouble getFlattening()
Vector3D getNormal(Vector3D point)
point - Point as a Vector3D in local basisIEllipsoid getEllipsoid()
spheroid objectGeodeticPoint getIntersectionPoint(Line line, Vector3D close, Frame frame, AbsoluteDate date, double altitude) throws PatriusException
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.
line - test line (may intersect the body or not)close - point used for intersections selectionframe - frame in which line is expresseddate - date of the line in given framealtitude - altitude of the intersectionPatriusException - if line cannot be converted to body frameCopyright © 2021 CNES. All rights reserved.