Package org.orekit.bodies
Class FieldEllipse<T extends CalculusFieldElement<T>>
java.lang.Object
org.orekit.bodies.FieldEllipse<T>
- Type Parameters:
T- the type of the field elements
Model of a 2D ellipse in 3D space.
These ellipses are mainly created as plane sections of general 3D ellipsoids, but can be used for other purposes.
Instances of this class are guaranteed to be immutable.
- Since:
- 12.0
- Author:
- Luc Maisonobe
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFieldEllipse(FieldVector3D<T> center, FieldVector3D<T> u, FieldVector3D<T> v, T a, T b, Frame frame) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetA()Get the semi major axis.getB()Get the semi minor axis.Get the center of the 2D ellipse.getCenterOfCurvature(FieldVector2D<T> point) Find the center of curvature (point on the evolute) at the nadir of a point.getFrame()Get the defining frame.getU()Get the unit vector along the major axis.getV()Get the unit vector along the minor axis.Get a point of the 2D ellipse.Find the closest ellipse point.Project position-velocity-acceleration on an ellipse.toPlane(FieldVector3D<T> p) Project a point to the ellipse plane.toSpace(FieldVector2D<T> p) Create a point from its ellipse-relative coordinates.
-
Constructor Details
-
FieldEllipse
public FieldEllipse(FieldVector3D<T> center, FieldVector3D<T> u, FieldVector3D<T> v, T a, T b, Frame frame) Simple constructor.- Parameters:
center- center of the 2D ellipseu- unit vector along the major axisv- unit vector along the minor axisa- semi major axisb- semi minor axisframe- frame in which the ellipse is defined
-
-
Method Details
-
getCenter
Get the center of the 2D ellipse.- Returns:
- center of the 2D ellipse
-
getU
Get the unit vector along the major axis.- Returns:
- unit vector along the major axis
-
getV
Get the unit vector along the minor axis.- Returns:
- unit vector along the minor axis
-
getA
Get the semi major axis.- Returns:
- semi major axis
-
getB
Get the semi minor axis.- Returns:
- semi minor axis
-
getFrame
Get the defining frame.- Returns:
- defining frame
-
pointAt
Get a point of the 2D ellipse.- Parameters:
theta- angular parameter on the ellipse (really the eccentric anomaly)- Returns:
- ellipse point at theta, in underlying ellipsoid frame
-
toSpace
Create a point from its ellipse-relative coordinates.- Parameters:
p- point defined with respect to ellipse- Returns:
- point defined with respect to 3D frame
- See Also:
-
toPlane
Project a point to the ellipse plane.- Parameters:
p- point defined with respect to 3D frame- Returns:
- point defined with respect to ellipse
- See Also:
-
projectToEllipse
Find the closest ellipse point.- Parameters:
p- point in the ellipse plane to project on the ellipse itself- Returns:
- closest point belonging to 2D meridian ellipse
-
projectToEllipse
Project position-velocity-acceleration on an ellipse.- Parameters:
pv- position-velocity-acceleration to project, in the reference frame- Returns:
- projected position-velocity-acceleration
-
getCenterOfCurvature
Find the center of curvature (point on the evolute) at the nadir of a point.- Parameters:
point- point in the ellipse plane- Returns:
- center of curvature of the ellipse directly at point nadir
-