math.geom2d.spline
Class PolyBezierCurve2D
java.lang.Object
math.geom2d.curve.CurveSet2D<T>
math.geom2d.curve.CurveArray2D<T>
math.geom2d.curve.PolyCurve2D<CubicBezierCurve2D>
math.geom2d.spline.PolyBezierCurve2D
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<CubicBezierCurve2D>, ContinuousCurve2D, Curve2D, Shape2D
Deprecated. use PolyCubicBezierCurve2D instead
@Deprecated
public class PolyBezierCurve2D
- extends PolyCurve2D<CubicBezierCurve2D>
A set of Bezier curves, making a continuous curve.
- Author:
- dlegland
- See Also:
- Serialized Form
Methods inherited from class math.geom2d.curve.PolyCurve2D |
appendPath, draw, equals, getAsPolyline, getContinuousCurves, getGeneralPath, getLeftTangent, getReverseCurve, getRightTangent, getSmoothPieces, getSubCurve, isClosed, setClosed, wrapCurve |
Methods inherited from class math.geom2d.curve.CurveArray2D |
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 |
Methods inherited from interface math.geom2d.curve.Curve2D |
clone, getAsAWTShape, getFirstPoint, getIntersections, getLastPoint, getPoint, getPosition, getSingularPoints, getT0, getT1, isSingular, project |
PolyBezierCurve2D
@Deprecated
public PolyBezierCurve2D()
- Deprecated.
PolyBezierCurve2D
@Deprecated
public PolyBezierCurve2D(CubicBezierCurve2D[] curves)
- Deprecated.
PolyBezierCurve2D
@Deprecated
public PolyBezierCurve2D(Collection<CubicBezierCurve2D> curves)
- Deprecated.
clip
public PolyBezierCurve2D clip(Box2D box)
- Deprecated.
- returns a new PolyBezierCurve2D.
- Specified by:
clip
in interface ContinuousCurve2D
- Specified by:
clip
in interface Curve2D
- Specified by:
clip
in interface Shape2D
- Overrides:
clip
in class PolyCurve2D<CubicBezierCurve2D>
- Parameters:
box
- the clipping box
- Returns:
- the clipped shape
transform
public PolyBezierCurve2D transform(AffineTransform2D trans)
- Deprecated.
- Description copied from class:
CurveArray2D
- Transforms each curve, and build a new CurveArray2D with the set of
transformed curves.
- Specified by:
transform
in interface ContinuousCurve2D
- Specified by:
transform
in interface Curve2D
- Specified by:
transform
in interface Shape2D
- Overrides:
transform
in class PolyCurve2D<CubicBezierCurve2D>
- Parameters:
trans
- an affine transform
- Returns:
- the transformed shape
Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.