public class Ellipsoid extends Object implements Serializable
| Constructor and Description |
|---|
Ellipsoid(Frame frame,
double a,
double b,
double c)
Simple constructor.
|
| Modifier and Type | Method and 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.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
getPlaneSection(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> planePoint,
org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> planeNormal)
Compute the 2D ellipse at the intersection of the 3D ellipsoid and a plane.
|
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.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
isInside(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> point)
Check if a point is inside the ellipsoid.
|
boolean |
isInside(org.hipparchus.geometry.euclidean.threed.Vector3D point)
Check if a point is inside the ellipsoid.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
pointOnLimb(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> observer,
org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> outside)
Find a point on ellipsoid limb, as seen by an external observer.
|
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 <T extends org.hipparchus.CalculusFieldElement<T>> boolean isInside(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> point)
T - the type of the field elementspoint - 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 <T extends org.hipparchus.CalculusFieldElement<T>> FieldEllipse<T> getPlaneSection(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> planePoint, org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> planeNormal) throws org.hipparchus.exception.MathRuntimeException
T - the type of the field elementsplanePoint - 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 alignedpublic <T extends org.hipparchus.CalculusFieldElement<T>> org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> pointOnLimb(org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> observer,
org.hipparchus.geometry.euclidean.threed.FieldVector3D<T> outside)
throws org.hipparchus.exception.MathRuntimeException
T - the type of the field elementsobserver - 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-2023 CS GROUP. All rights reserved.