public interface Conic2D extends Boundary2D
| Modifier and Type | Interface and Description |
|---|---|
static class |
Conic2D.Type
The different types of conic.
|
| Modifier and Type | Method and Description |
|---|---|
CurveSet2D<? extends ContinuousOrientedCurve2D> |
clip(Box2D box)
When a curve is clipped, the result is a set of curves.
|
double[] |
getConicCoefficients()
Returns the coefficient of the Cartesian representation of the conic.
|
Conic2D.Type |
getConicType() |
double |
getEccentricity()
Returns the eccentricity of the conic.
|
Conic2D |
getReverseCurve()
Forces the subclasses to return an instance of Boundary2D.
|
Conic2D |
transform(AffineTransform2D trans)
Forces the subclasses to return an instance of Boundary2D.
|
fill, getBoundaryCurves, getDomain, isInsidegetSignedDistance, getSignedDistance, getWindingAngleclone, draw, getAsAWTShape, getContinuousCurves, getFirstPoint, getIntersections, getLastPoint, getPoint, getPosition, getSingularPoints, getSubCurve, getT0, getT1, isSingular, projectcontains, contains, getBoundingBox, getDistance, getDistance, isBounded, isEmptyConic2D.Type getConicType()
double[] getConicCoefficients()
a*x^2 + b*x*y + c*y^2 + d*x + e*y + f
The length of the array is then of size 6.
double getEccentricity()
Conic2D getReverseCurve()
Boundary2DgetReverseCurve in interface Boundary2DgetReverseCurve in interface Curve2DgetReverseCurve in interface OrientedCurve2DConic2D transform(AffineTransform2D trans)
Boundary2Dtransform in interface Boundary2Dtransform in interface Curve2Dtransform in interface OrientedCurve2Dtransform in interface Shape2Dtrans - an affine transformCurveSet2D<? extends ContinuousOrientedCurve2D> clip(Box2D box)
Curve2DCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.