math.geom2d.spline
Class PolyBezierCurve2D

Package class diagram package PolyBezierCurve2D
java.lang.Object
  extended by math.geom2d.curve.CurveSet2D<T>
      extended by math.geom2d.curve.CurveArray2D<T>
          extended by math.geom2d.curve.PolyCurve2D<CubicBezierCurve2D>
              extended by 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

Field Summary
 
Fields inherited from class math.geom2d.curve.PolyCurve2D
closed
 
Fields inherited from class math.geom2d.curve.CurveSet2D
curves
 
Fields inherited from interface math.geom2d.Shape2D
ACCURACY
 
Constructor Summary
PolyBezierCurve2D()
          Deprecated. 
PolyBezierCurve2D(Collection<CubicBezierCurve2D> curves)
          Deprecated. 
PolyBezierCurve2D(CubicBezierCurve2D[] curves)
          Deprecated. 
 
Method Summary
 PolyBezierCurve2D clip(Box2D box)
          Deprecated. returns a new PolyBezierCurve2D.
 PolyBezierCurve2D transform(AffineTransform2D trans)
          Deprecated. Transforms each curve, and build a new CurveArray2D with the set of transformed curves.
 
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, getCurve, getCurveIndex, getCurveNumber, getCurves, getDistance, getDistance, getFirstCurve, getFirstPoint, getGlobalPosition, getChildCurve, getIntersections, getLastCurve, getLastPoint, getLocalPosition, getPoint, getPosition, getSingularPoints, getT0, getT1, isBounded, isEmpty, isSingular, iterator, project, removeCurve
 
Methods inherited from class math.geom2d.curve.CurveSet2D
fromUnitSegment, toUnitSegment
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface math.geom2d.curve.Curve2D
clone, getAsAWTShape, getFirstPoint, getIntersections, getLastPoint, getPoint, getPosition, getSingularPoints, getT0, getT1, isSingular, project
 
Methods inherited from interface math.geom2d.Shape2D
contains, contains, getBoundingBox, getDistance, getDistance, isBounded, isEmpty
 

Constructor Detail

PolyBezierCurve2D

@Deprecated
public PolyBezierCurve2D()
Deprecated. 


PolyBezierCurve2D

@Deprecated
public PolyBezierCurve2D(CubicBezierCurve2D[] curves)
Deprecated. 


PolyBezierCurve2D

@Deprecated
public PolyBezierCurve2D(Collection<CubicBezierCurve2D> curves)
Deprecated. 

Method Detail

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.