T
- the type of the field elementspublic class FieldEllipse<T extends org.hipparchus.CalculusFieldElement<T>> extends Object
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.
Ellipsoid.getPlaneSection(FieldVector3D, FieldVector3D)
Constructor and Description |
---|
FieldEllipse(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> center,
org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> u,
org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> v,
T a,
T b,
Frame frame)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
getA()
Get the semi major axis.
|
T |
getB()
Get the semi minor axis.
|
org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> |
getCenter()
Get the center of the 2D ellipse.
|
org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> |
getCenterOfCurvature(org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> point)
Find the center of curvature (point on the evolute) at the nadir of a point.
|
Frame |
getFrame()
Get the defining frame.
|
org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> |
getU()
Get the unit vector along the major axis.
|
org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> |
getV()
Get the unit vector along the minor axis.
|
org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> |
pointAt(T theta)
Get a point of the 2D ellipse.
|
org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> |
projectToEllipse(org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> p)
Find the closest ellipse point.
|
TimeStampedFieldPVCoordinates<T> |
projectToEllipse(TimeStampedFieldPVCoordinates<T> pv)
Project position-velocity-acceleration on an ellipse.
|
org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> |
toPlane(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> p)
Project a point to the ellipse plane.
|
org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> |
toSpace(org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> p)
Create a point from its ellipse-relative coordinates.
|
public FieldEllipse(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> center, org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> u, org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> v, T a, T b, Frame frame)
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 definedpublic org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> getCenter()
public org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> getU()
public org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> getV()
public T getA()
public T getB()
public Frame getFrame()
public org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> pointAt(T theta)
theta
- angular parameter on the ellipse (really the eccentric anomaly)public org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> toSpace(org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> p)
p
- point defined with respect to ellipsetoPlane(FieldVector3D)
public org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> toPlane(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> p)
p
- point defined with respect to 3D frametoSpace(FieldVector2D)
public org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> projectToEllipse(org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> p)
p
- point in the ellipse plane to project on the ellipse itselfpublic TimeStampedFieldPVCoordinates<T> projectToEllipse(TimeStampedFieldPVCoordinates<T> pv)
pv
- position-velocity-acceleration to project, in the reference framepublic org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> getCenterOfCurvature(org.hipparchus.geometry.euclidean.twod.FieldVector2D<T> point)
point
- point in the ellipse planeCopyright © 2002-2023 CS GROUP. All rights reserved.