org.orekit.bodies
Interface GeometricBodyShape

All Superinterfaces:
BodyShape, PVCoordinatesProvider, Serializable
All Known Implementing Classes:
ExtendedOneAxisEllipsoid, ProjectionEllipsoid

public interface GeometricBodyShape
extends BodyShape, PVCoordinatesProvider

Extended interface for celestial bodies shapes : extends the OREKIT's BodyShape interface by adding geometric methods.

Since:
1.2
Version:
$Id: GeometricBodyShape.java 17602 2017-05-18 08:25:23Z bignon $
Author:
Thomas Trapier
See Also:
BodyShape

Method Summary
 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 position, Frame frame, AbsoluteDate date, PVCoordinatesProvider occultedBody)
          Calculate the apparent radius.
 String getName()
           
 
Methods inherited from interface org.orekit.bodies.BodyShape
getBodyFrame, getIntersectionPoint, transform, transform
 
Methods inherited from interface org.orekit.utils.PVCoordinatesProvider
getPVCoordinates
 

Method Detail

getIntersectionPoints

Vector3D[] getIntersectionPoints(Line line,
                                 Frame frame,
                                 AbsoluteDate date)
                                 throws OrekitException
Compute the intersection points with a line.

Parameters:
line - the line
frame - in which line is expressed
date - date of the line in given frame
Returns:
the intersection points if they exist. If no intersection is found, the dimension is zero
Throws:
OrekitException - if line cannot be converted to body frame

distanceTo

double distanceTo(Line line,
                  Frame frame,
                  AbsoluteDate date)
                  throws OrekitException
Computes the distance to a line.

Parameters:
line - the line
frame - in which line is expressed
date - date of the line in given frame
Returns:
the shortest distance between the the line and the shape
Throws:
OrekitException - if line cannot be converted to body frame

getName

String getName()
Returns:
the name of the shape

getLocalRadius

double getLocalRadius(Vector3D position,
                      Frame frame,
                      AbsoluteDate date,
                      PVCoordinatesProvider occultedBody)
                      throws OrekitException
Calculate the apparent radius.

Parameters:
position - spacecraft position
frame - frame in which position is expressed
date - date of position
occultedBody - body occulted by this
Returns:
apparent radius
Throws:
OrekitException - if PVCoordinatesProvider computation fails


Copyright © 2017 CNES. All Rights Reserved.