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.
|
Ellipse |
getPlaneSection(Vector3D planePoint,
Vector3D planeNormal)
Compute the 2D ellipse at the intersection of the 3D ellipsoid and a plane.
|
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 Ellipse getPlaneSection(Vector3D planePoint, Vector3D planeNormal)
planePoint
- point belonging to the plane, in the ellipsoid frameplaneNormal
- normal of the plane, in the ellipsoid frameCopyright © 2002-2015 CS Systèmes d'information. All rights reserved.