public class VariableRadiusProvider extends Object implements LocalRadiusProvider
Constructor and Description |
---|
VariableRadiusProvider(GeometricBodyShape shape)
Constructor with a body shape capable of calculating apparent radii.
|
Modifier and Type | Method and Description |
---|---|
GeometricBodyShape |
getBodyShape()
Getter for boy shape.
|
double |
getLocalRadius(Vector3D position,
Frame frame,
AbsoluteDate date,
PVCoordinatesProvider occultedBodyIn)
Calculate the apparent radius.
|
public VariableRadiusProvider(GeometricBodyShape shape)
shape
- body shapepublic double getLocalRadius(Vector3D position, Frame frame, AbsoluteDate date, PVCoordinatesProvider occultedBodyIn)
getLocalRadius
in interface LocalRadiusProvider
position
- spacecraft positionframe
- frame in which position is expresseddate
- date of positionoccultedBodyIn
- body occulted by thispublic GeometricBodyShape getBodyShape()
Copyright © 2019 CNES. All rights reserved.