public interface GeometricBodyShape extends BodyShape, PVCoordinatesProvider
BodyShape| Modifier and Type | Interface and Description |
|---|---|
static class |
GeometricBodyShape.MarginType
Margin type.
|
EPS_ALTITUDE| Modifier and Type | Method and Description |
|---|---|
double |
distanceTo(Line line,
Frame frame,
AbsoluteDate date)
Computes the distance to a line.
|
Vector3D[] |
getIntersectionPoints(Line line,
Frame frame,
AbsoluteDate date)
Compute the intersection points with a line.
|
double |
getLocalRadius(Vector3D posObserver,
Frame frame,
AbsoluteDate date,
PVCoordinatesProvider occultedBody)
Compute the apparent radius (in meters) of the occulting body from the spacecraft (observer) position.
|
String |
getName() |
GeometricBodyShape |
resize(GeometricBodyShape.MarginType marginType,
double marginValue)
Resize the geometric body shape by a margin.
|
getBodyFrame, getIntersectionPoint, getIntersectionPoint, transform, transformgetNativeFrame, getPVCoordinatesVector3D[] getIntersectionPoints(Line line, Frame frame, AbsoluteDate date) throws PatriusException
line - the lineframe - in which line is expresseddate - date of the line in given framePatriusException - if line cannot be converted to body framedouble distanceTo(Line line, Frame frame, AbsoluteDate date) throws PatriusException
line - the lineframe - in which line is expresseddate - date of the line in given framePatriusException - if line cannot be converted to body frameString getName()
double getLocalRadius(Vector3D posObserver, Frame frame, AbsoluteDate date, PVCoordinatesProvider occultedBody) throws PatriusException
Please notice that this method will for the moment be used only with an instantaneous propagation delay type.
posObserver - the spacecraft (observer) positionframe - the reference frame in which the spacecraft (observer) position is expresseddate - the date at which the spacecraft (observer) position is expressedoccultedBody - the body which is occulted to the spacecraft (observer) by the occulting bodyPatriusException - if the PVCoordinatesProvider computation failsGeometricBodyShape resize(GeometricBodyShape.MarginType marginType, double marginValue) throws PatriusException
marginType - margin type to be usedmarginValue - margin value to be used (in meters if the margin type is DISTANCE)PatriusException - if the margin value is invalidCopyright © 2022 CNES. All rights reserved.