|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BodyShape
Interface representing the rigid surface shape of a natural body.
The shape is not provided as a single complete geometric
model, but single points can be queried (getIntersectionPoint(org.apache.commons.math3.geometry.euclidean.threed.Line, org.apache.commons.math3.geometry.euclidean.threed.Vector3D, org.orekit.frames.Frame, org.orekit.time.AbsoluteDate)
).
Method Summary | |
---|---|
Frame |
getBodyFrame()
Get body frame related to body shape. |
GeodeticPoint |
getIntersectionPoint(Line line,
Vector3D close,
Frame frame,
AbsoluteDate date)
Get the intersection point of a line with the surface of the body. |
Vector3D |
transform(GeodeticPoint point)
Transform a surface-relative point to a cartesian point. |
GeodeticPoint |
transform(Vector3D point,
Frame frame,
AbsoluteDate date)
Transform a cartesian point to a surface-relative point. |
Method Detail |
---|
Frame getBodyFrame()
GeodeticPoint getIntersectionPoint(Line line, Vector3D close, Frame frame, AbsoluteDate date) throws OrekitException
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 frame
OrekitException
- if line cannot be converted to body frameGeodeticPoint transform(Vector3D point, Frame frame, AbsoluteDate date) throws OrekitException
point
- cartesian pointframe
- frame in which cartesian point is expresseddate
- date of the computation (used for frames conversions)
OrekitException
- if point cannot be converted to body frameVector3D transform(GeodeticPoint point)
point
- surface-relative point
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |