Serializable
public class Ellipse extends Object implements Serializable
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(Vector3D, Vector3D)
,
Serialized FormConstructor | Description |
---|---|
Ellipse(org.hipparchus.geometry.euclidean.threed.Vector3D center,
org.hipparchus.geometry.euclidean.threed.Vector3D u,
org.hipparchus.geometry.euclidean.threed.Vector3D v,
double a,
double b,
Frame frame) |
Simple constructor.
|
Modifier and Type | Method | Description |
---|---|---|
double |
getA() |
Get the semi major axis.
|
double |
getB() |
Get the semi minor axis.
|
org.hipparchus.geometry.euclidean.threed.Vector3D |
getCenter() |
Get the center of the 2D ellipse.
|
org.hipparchus.geometry.euclidean.twod.Vector2D |
getCenterOfCurvature(org.hipparchus.geometry.euclidean.twod.Vector2D 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.Vector3D |
getU() |
Get the unit vector along the major axis.
|
org.hipparchus.geometry.euclidean.threed.Vector3D |
getV() |
Get the unit vector along the minor axis.
|
org.hipparchus.geometry.euclidean.threed.Vector3D |
pointAt(double theta) |
Get a point of the 2D ellipse.
|
org.hipparchus.geometry.euclidean.twod.Vector2D |
projectToEllipse(org.hipparchus.geometry.euclidean.twod.Vector2D p) |
Find the closest ellipse point.
|
TimeStampedPVCoordinates |
projectToEllipse(TimeStampedPVCoordinates pv) |
Project position-velocity-acceleration on an ellipse.
|
org.hipparchus.geometry.euclidean.twod.Vector2D |
toPlane(org.hipparchus.geometry.euclidean.threed.Vector3D p) |
Project a point to the ellipse plane.
|
org.hipparchus.geometry.euclidean.threed.Vector3D |
toSpace(org.hipparchus.geometry.euclidean.twod.Vector2D p) |
Create a point from its ellipse-relative coordinates.
|
public Ellipse(org.hipparchus.geometry.euclidean.threed.Vector3D center, org.hipparchus.geometry.euclidean.threed.Vector3D u, org.hipparchus.geometry.euclidean.threed.Vector3D v, double a, double 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.Vector3D getCenter()
public org.hipparchus.geometry.euclidean.threed.Vector3D getU()
public org.hipparchus.geometry.euclidean.threed.Vector3D getV()
public double getA()
public double getB()
public Frame getFrame()
public org.hipparchus.geometry.euclidean.threed.Vector3D pointAt(double theta)
theta
- angular parameter on the ellipse (really the eccentric anomaly)public org.hipparchus.geometry.euclidean.threed.Vector3D toSpace(org.hipparchus.geometry.euclidean.twod.Vector2D p)
p
- point defined with respect to ellipsetoPlane(Vector3D)
public org.hipparchus.geometry.euclidean.twod.Vector2D toPlane(org.hipparchus.geometry.euclidean.threed.Vector3D p)
p
- point defined with respect to 3D frametoSpace(Vector2D)
public org.hipparchus.geometry.euclidean.twod.Vector2D projectToEllipse(org.hipparchus.geometry.euclidean.twod.Vector2D p)
p
- point in the ellipse plane to project on the ellipse itselfpublic TimeStampedPVCoordinates projectToEllipse(TimeStampedPVCoordinates pv)
pv
- position-velocity-acceleration to project, in the reference framepublic org.hipparchus.geometry.euclidean.twod.Vector2D getCenterOfCurvature(org.hipparchus.geometry.euclidean.twod.Vector2D point)
point
- point in the ellipse planeCopyright © 2002-2019 CS Systèmes d'information. All rights reserved.