Serializable
OneAxisEllipsoid
public class Ellipsoid extends Object implements Serializable
Constructor | Description |
---|---|
Ellipsoid(Frame frame,
double a,
double b,
double c) |
Simple constructor.
|
Modifier and Type | Method | Description |
---|---|---|
double |
getA() |
Get the length of the first semi-axis.
|
double |
getB() |
Get the length of the second semi-axis.
|
double |
getC() |
Get the length of the third semi-axis.
|
Frame |
getFrame() |
Get the ellipsoid central frame.
|
Ellipse |
getPlaneSection(org.hipparchus.geometry.euclidean.threed.Vector3D planePoint,
org.hipparchus.geometry.euclidean.threed.Vector3D planeNormal) |
Compute the 2D ellipse at the intersection of the 3D ellipsoid and a plane.
|
boolean |
isInside(org.hipparchus.geometry.euclidean.threed.Vector3D point) |
Check if a point is inside the ellipsoid.
|
org.hipparchus.geometry.euclidean.threed.Vector3D |
pointOnLimb(org.hipparchus.geometry.euclidean.threed.Vector3D observer,
org.hipparchus.geometry.euclidean.threed.Vector3D outside) |
Find a point on ellipsoid limb, as seen by an external observer.
|
public Ellipsoid(Frame frame, double a, double b, double c)
frame
- at the ellipsoid center, aligned with principal axesa
- first semi-axis lengthb
- second semi-axis lengthc
- third semi-axis lengthpublic double getA()
public double getB()
public double getC()
public Frame getFrame()
public boolean isInside(org.hipparchus.geometry.euclidean.threed.Vector3D point)
point
- point to check, in the ellipsoid framepublic Ellipse getPlaneSection(org.hipparchus.geometry.euclidean.threed.Vector3D planePoint, org.hipparchus.geometry.euclidean.threed.Vector3D planeNormal) throws org.hipparchus.exception.MathRuntimeException
planePoint
- point belonging to the plane, in the ellipsoid frameplaneNormal
- normal of the plane, in the ellipsoid frameorg.hipparchus.exception.MathRuntimeException
- if the norm of planeNormal is nullpublic org.hipparchus.geometry.euclidean.threed.Vector3D pointOnLimb(org.hipparchus.geometry.euclidean.threed.Vector3D observer, org.hipparchus.geometry.euclidean.threed.Vector3D outside) throws org.hipparchus.exception.MathRuntimeException
observer
- observer position in ellipsoid frameoutside
- point outside ellipsoid in ellipsoid frame, defining the phase around limborg.hipparchus.exception.MathRuntimeException
- if ellipsoid center, observer and outside
points are alignedCopyright © 2002-2019 CS Systèmes d'information. All rights reserved.