public class PolyCubicBezierCurve2D extends PolyCurve2D<CubicBezierCurve2D>
closed
curves
Constructor and Description |
---|
PolyCubicBezierCurve2D() |
PolyCubicBezierCurve2D(Collection<CubicBezierCurve2D> curves) |
PolyCubicBezierCurve2D(CubicBezierCurve2D[] curves) |
PolyCubicBezierCurve2D(int n) |
Modifier and Type | Method and Description |
---|---|
PolyCubicBezierCurve2D |
clip(Box2D box)
Returns a new PolyCubicBezierCurve2D.
|
static PolyCubicBezierCurve2D |
create(Point2D[] points)
Creates a series a cubic bezier curves, by grouping 4 adjacent points.
|
static PolyCubicBezierCurve2D |
create(Point2D[] points,
Vector2D[] vectors)
Creates a series a cubic bezier curves, by grouping consecutive couples
of points and vectors.
|
PolyCubicBezierCurve2D |
transform(AffineTransform2D trans)
Transforms each curve, and build a new CurveArray2D with the set of
transformed curves.
|
appendPath, draw, equals, getAsPolyline, getContinuousCurves, getGeneralPath, getLeftTangent, getReverseCurve, getRightTangent, getSmoothPieces, getSubCurve, isClosed, setClosed, wrapCurve
addCurve, clearCurves, clone, contains, contains, containsCurve, getAsAWTShape, getBoundingBox, getChildCurve, getCurve, getCurveIndex, getCurveNumber, getCurves, getDistance, getDistance, getFirstCurve, getFirstPoint, getGlobalPosition, getIntersections, getLastCurve, getLastPoint, getLocalPosition, getPoint, getPosition, getSingularPoints, getT0, getT1, isBounded, isEmpty, isSingular, iterator, project, removeCurve
fromUnitSegment, toUnitSegment
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getAsAWTShape, getFirstPoint, getIntersections, getLastPoint, getPoint, getPosition, getSingularPoints, getT0, getT1, isSingular, project
contains, contains, getBoundingBox, getDistance, getDistance, isBounded, isEmpty
public PolyCubicBezierCurve2D()
public PolyCubicBezierCurve2D(int n)
public PolyCubicBezierCurve2D(CubicBezierCurve2D[] curves)
public PolyCubicBezierCurve2D(Collection<CubicBezierCurve2D> curves)
public static final PolyCubicBezierCurve2D create(Point2D[] points)
public static final PolyCubicBezierCurve2D create(Point2D[] points, Vector2D[] vectors)
public PolyCubicBezierCurve2D clip(Box2D box)
clip
in interface ContinuousCurve2D
clip
in interface Curve2D
clip
in interface Shape2D
clip
in class PolyCurve2D<CubicBezierCurve2D>
box
- the clipping boxpublic PolyCubicBezierCurve2D transform(AffineTransform2D trans)
CurveArray2D
transform
in interface ContinuousCurve2D
transform
in interface Curve2D
transform
in interface Shape2D
transform
in class PolyCurve2D<CubicBezierCurve2D>
trans
- an affine transformCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.