|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.bodies.ExtendedOneAxisEllipsoid
public class ExtendedOneAxisEllipsoid
implementation of the PatriusBodyShape interface : this an extended spheroid model to represent celestial bodies shapes.
GeometricBodyShape,
Serialized Form| Constructor Summary | |
|---|---|
ExtendedOneAxisEllipsoid(double ae,
double f,
Frame bodyFrame,
String name)
Constructor for the body spheroid. |
|
| Method Summary | |
|---|---|
double |
distanceTo(Line line,
Frame frame,
AbsoluteDate date)
Computes the distance to a line. |
Frame |
getBodyFrame()
Get body frame related to body shape. |
double |
getConjugateRadius()
Return conjugate radius (minor semi axis) |
double |
getEquatorialRadius()
Get the equatorial radius of the body. |
double |
getFlattening()
Return the flattening |
GeodeticPoint |
getIntersectionPoint(Line line,
Vector3D close,
Frame frame,
AbsoluteDate date)
Get the intersection point of a line with the surface of the body. |
Vector3D[] |
getIntersectionPoints(Line line,
Frame frame,
AbsoluteDate date)
Compute the intersection points with a line. |
String |
getName()
|
Vector3D |
getNormal(Vector3D point)
Return the normal vector to the surface from the ellipsoid |
double |
getOccultingRadius(Vector3D position,
Frame frame,
AbsoluteDate date,
PVCoordinatesProvider occultedBody)
Calculate the apparent radius. |
PVCoordinates |
getPVCoordinates(AbsoluteDate date,
Frame frame)
Get the PVCoordinates of the body in the selected frame. |
double |
getTransverseRadius()
Return transverse radius (major semi axis) |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedOneAxisEllipsoid(double ae,
double f,
Frame bodyFrame,
String name)
ae - equatorial radiusf - the flattening (f = (a-b)/a)bodyFrame - body frame related to body shapename - the name of this shape| Method Detail |
|---|
public Frame getBodyFrame()
BodyShape
getBodyFrame in interface BodyShape
public GeodeticPoint getIntersectionPoint(Line line,
Vector3D close,
Frame frame,
AbsoluteDate date)
throws OrekitException
BodyShapeA 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.
getIntersectionPoint in interface BodyShapeline - 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 frame
public GeodeticPoint transform(Vector3D point,
Frame frame,
AbsoluteDate date)
throws OrekitException
BodyShape
transform in interface BodyShapepoint - 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 framepublic Vector3D transform(GeodeticPoint point)
BodyShape
transform in interface BodyShapepoint - surface-relative point
public Vector3D[] getIntersectionPoints(Line line,
Frame frame,
AbsoluteDate date)
throws OrekitException
GeometricBodyShape
getIntersectionPoints in interface GeometricBodyShapeline - the lineframe - in which line is expresseddate - date of the line in given frame
OrekitException - if line cannot be converted to body frame
public double distanceTo(Line line,
Frame frame,
AbsoluteDate date)
throws OrekitException
GeometricBodyShape
distanceTo in interface GeometricBodyShapeline - the lineframe - in which line is expresseddate - date of the line in given frame
OrekitException - if line cannot be converted to body framepublic String getName()
getName in interface GeometricBodyShape
public PVCoordinates getPVCoordinates(AbsoluteDate date,
Frame frame)
throws OrekitException
PVCoordinatesProviderPVCoordinates of the body in the selected frame.
getPVCoordinates in interface PVCoordinatesProviderdate - current dateframe - the frame where to define the position
OrekitException - if position cannot be computed in given framepublic double getTransverseRadius()
public double getConjugateRadius()
public double getOccultingRadius(Vector3D position,
Frame frame,
AbsoluteDate date,
PVCoordinatesProvider occultedBody)
throws OrekitException
GeometricBodyShape
getOccultingRadius in interface GeometricBodyShapeposition - spacecraft positionframe - frame in which position is expresseddate - date of positionoccultedBody - body occulted by this
OrekitException - if PVCoordinatesProvider computation failspublic double getEquatorialRadius()
public double getFlattening()
public Vector3D getNormal(Vector3D point)
point - Point as a Vector3D in local basis
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||