public class EllipseParameters
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
double |
a
demi grand axe
|
double |
angle
angle en rad
|
double |
b
demi axe b
|
java.awt.geom.Point2D.Double |
centre |
Constructor and Description |
---|
EllipseParameters() |
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D.Double |
computePointOnEllipse(double a1,
double ratio)
compute position on the ellipse using the angle and ratio (length ratio, 1.0
-> on the ellipse circle)
|
MathVect |
computePointOnEllipseMathVect(double a1,
double ratio)
Compute a point on a ellipse, using the angle and ratio (length ratio, 1.0 ->
on the ellipse circle)
|
Jama.Matrix |
computePointOnEllipseMatrix(double a1,
double ratio)
Compute a point on a ellipse, using the angle and ratio (length ratio, 1.0 ->
on the ellipse circle)
|
EllipseParameters |
copy() |
public java.awt.geom.Point2D.Double centre
public double angle
public double a
public double b
public EllipseParameters copy()
public java.awt.geom.Point2D.Double computePointOnEllipse(double a1, double ratio)
a1
- ratio
- public Jama.Matrix computePointOnEllipseMatrix(double a1, double ratio)
a1
- ratio
- public MathVect computePointOnEllipseMathVect(double a1, double ratio)
a1
- ratio
-