Package | Description |
---|---|
math.geom2d.conic |
Definition of various conic curves like circles, ellipses, parabolas and
hyperbolas, and their resepctive arcs.
|
Modifier and Type | Class and Description |
---|---|
class |
Circle2D
A circle in the plane, defined as the set of points located at an equal
distance from the circle center.
|
Modifier and Type | Field and Description |
---|---|
protected Ellipse2D |
EllipseArc2D.ellipse
The supporting ellipse
|
Modifier and Type | Method and Description |
---|---|
Ellipse2D |
Ellipse2D.clone() |
static Ellipse2D |
Ellipse2D.create(Ellipse2D ellipse)
Constructs an ellipse from the java.awt.geom class for ellipse.
|
static Ellipse2D |
Ellipse2D.create(Point2D center,
double l1,
double l2)
Main constructor: define center by a point plus major and minor semi axis
|
static Ellipse2D |
Ellipse2D.create(Point2D center,
double l1,
double l2,
double theta)
Define center by point, major and minor semi axis lengths, and
orientation angle.
|
static Ellipse2D |
Ellipse2D.create(Point2D center,
double l1,
double l2,
double theta,
boolean direct)
Define center by point, major and minor semi axis lengths,
orientation angle, and boolean flag for direct ellipse.
|
static Ellipse2D |
Ellipse2D.create(Point2D focus1,
Point2D focus2,
double chord)
Create a new Ellipse by specifying the two focii, and the length of the
chord.
|
Ellipse2D |
Ellipse2D.getParallel(double d)
Return the parallel ellipse located at a distance d from this ellipse.
|
Ellipse2D |
Ellipse2D.getReverseCurve()
Returns the ellipse with same center and same radius, but with the other
orientation.
|
Ellipse2D |
EllipseArc2D.getSupportingEllipse() |
static Ellipse2D |
Ellipse2D.reduceCentered(double[] coefs)
Creates a new Ellipse by reducing the conic coefficients, assuming conic
type is ellipse, and ellipse is centered.
|
Ellipse2D |
Ellipse2D.transform(AffineTransform2D trans)
Transforms this ellipse by an affine transform.
|
static Ellipse2D |
Ellipse2D.transformCentered(Ellipse2D ellipse,
AffineTransform2D trans)
Transform an ellipse, by supposing both the ellipse is centered and the
transform has no translation part.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends Ellipse2D> |
Ellipse2D.getBoundaryCurves() |
Collection<? extends Ellipse2D> |
Ellipse2D.getContinuousCurves() |
Modifier and Type | Method and Description |
---|---|
static EllipseArc2D |
EllipseArc2D.create(Ellipse2D ell,
double start,
double extent)
Specify supporting ellipse, start angle and end angle, and a flag
indicating whether the arc is directed or not.
|
static EllipseArc2D |
EllipseArc2D.create(Ellipse2D ell,
double start,
double end,
boolean direct)
Specify supporting ellipse, start angle and end angle, and a flag
indicating whether the arc is directed or not.
|
static Ellipse2D |
Ellipse2D.transformCentered(Ellipse2D ellipse,
AffineTransform2D trans)
Transform an ellipse, by supposing both the ellipse is centered and the
transform has no translation part.
|
Constructor and Description |
---|
EllipseArc2D(Ellipse2D ell,
double start,
double extent)
Specify supporting ellipse, start angle and angle extent.
|
EllipseArc2D(Ellipse2D ell,
double start,
double end,
boolean direct)
Specify supporting ellipse, start angle and end angle, and a flag
indicating whether the arc is directed or not.
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.