@Deprecated public class QuadBezier2D extends QuadBezierCurve2D implements SmoothCurve2D, ContinuousOrientedCurve2D, Cloneable
| Constructor and Description |
|---|
QuadBezier2D()
Deprecated.
|
QuadBezier2D(double[][] coefs)
Deprecated.
Build a new Bezier curve from its array of coefficients.
|
QuadBezier2D(double x1,
double y1,
double xctrl,
double yctrl,
double x2,
double y2)
Deprecated.
Build a new quadratic Bezier curve by specifying position of extreme
points and position of control point.
|
QuadBezier2D(Point2D[] pts)
Deprecated.
|
QuadBezier2D(Point2D p1,
Point2D ctrl,
Point2D p2)
Deprecated.
Build a new quadratic Bezier curve by specifying position of extreme
points and position of control point.
|
| Modifier and Type | Method and Description |
|---|---|
CurveSet2D<? extends QuadBezier2D> |
clip(Box2D box)
Deprecated.
Clip the circle arc by a box.
|
QuadBezier2D |
clone()
Deprecated.
Overrides Object declaration to ensure Curve2D implementation are
cloned as Curve2D.
|
boolean |
equals(Object obj)
Deprecated.
|
QuadBezier2D |
getReverseCurve()
Deprecated.
Returns the bezier curve given by control points taken in reverse order.
|
QuadBezier2D |
getSubCurve(double t0,
double t1)
Deprecated.
Computes portion of BezierCurve.
|
QuadBezier2D |
transform(AffineTransform2D trans)
Deprecated.
Returns the Bezier Curve transformed by the given AffineTransform2D.
|
appendPath, contains, contains, create, getBoundingBox, getControl, getCtrl, getCurvature, getDistance, getDistance, getFirstPoint, getGeneralPath, getIntersections, getLastPoint, getP1, getP2, getParametric, getPoint, getPosition, getSignedDistance, getSignedDistance, getT0, getT1, getTangent, getWindingAngle, isBounded, isClosed, isEmpty, isInside, projectgetLeftTangent, getRightTangent, getSingularPoints, getSmoothPieces, isSingulardraw, getAsAWTShape, getAsPolyline, getContinuousCurves, wrapCurvefinalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurvature, getTangentappendPath, getAsPolyline, getLeftTangent, getRightTangent, getSmoothPieces, isClosedgetSignedDistance, getSignedDistance, getWindingAngle, isInsidedraw, getAsAWTShape, getContinuousCurves, getFirstPoint, getIntersections, getLastPoint, getPoint, getPosition, getSingularPoints, getT0, getT1, isSingular, projectcontains, contains, getBoundingBox, getDistance, getDistance, isBounded, isEmptypublic QuadBezier2D()
public QuadBezier2D(double[][] coefs)
coefs - the coefficients of the QuadBezier2D.public QuadBezier2D(Point2D p1, Point2D ctrl, Point2D p2)
p1 - first pointctrl - control pointp2 - last pointpublic QuadBezier2D(Point2D[] pts)
public QuadBezier2D(double x1,
double y1,
double xctrl,
double yctrl,
double x2,
double y2)
public QuadBezier2D getReverseCurve()
getReverseCurve in interface ContinuousCurve2DgetReverseCurve in interface Curve2DgetReverseCurve in interface SmoothCurve2DgetReverseCurve in interface ContinuousOrientedCurve2DgetReverseCurve in interface OrientedCurve2DgetReverseCurve in class QuadBezierCurve2Dpublic QuadBezier2D getSubCurve(double t0, double t1)
getSubCurve in interface ContinuousCurve2DgetSubCurve in interface Curve2DgetSubCurve in interface SmoothCurve2DgetSubCurve in interface ContinuousOrientedCurve2DgetSubCurve in class QuadBezierCurve2Dt0 - position of the start of the sub-curvet1 - position of the end of the sub-curvepublic CurveSet2D<? extends QuadBezier2D> clip(Box2D box)
clip in interface ContinuousCurve2Dclip in interface Curve2Dclip in interface SmoothCurve2Dclip in interface ContinuousOrientedCurve2Dclip in interface OrientedCurve2Dclip in interface Shape2Dclip in class QuadBezierCurve2Dbox - the clipping boxpublic QuadBezier2D transform(AffineTransform2D trans)
transform in interface ContinuousCurve2Dtransform in interface Curve2Dtransform in interface SmoothCurve2Dtransform in interface ContinuousOrientedCurve2Dtransform in interface OrientedCurve2Dtransform in interface Shape2Dtransform in class QuadBezierCurve2Dtrans - an affine transformpublic boolean equals(Object obj)
equals in class QuadBezierCurve2Dpublic QuadBezier2D clone()
Curve2Dclone in interface Curve2Dclone in class QuadBezierCurve2DCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.