User Manual 3.4.1 Ellipse
De Wiki
Ellipses are used for the finite elliptic cones.
Implementation
The Ellipse object implements the SolidShape interface and extends the abstract ellipse class. Please refer to the Ellipse and AbstractEllipse javadoc for a complete list of public methods.
Instantiation
The ellipse object is built from a centre (Vector3D), one vector representing the normal to the disk surface (Vector3D) and one radius :
Vector3D center = new Vector3D(1.0, 1.0, 1.0); Vector3D normal = new Vector3D(1.0, 1.0, 0.0); Vector3D uVector = new Vector3D(1.0, 1.0, 0.0); double radiusA = 1; double radiusB = 2; Ellipse ellipse = new Ellipse(center, normal, uVector, radiusA, radiusB);
The local frame of the ellipse is built from the normal vector and the direction given by uVector (after orthogonolizing).
Usage
See abstract ellipse and interactions with geometrical objects.