public abstract class AbstractSmoothCurve2D extends AbstractContinuousCurve2D implements SmoothCurve2D, Cloneable
Constructor and Description |
---|
AbstractSmoothCurve2D() |
Modifier and Type | Method and Description |
---|---|
abstract SmoothCurve2D |
clone()
Overrides Object declaration to ensure Curve2D implementation are
cloned as Curve2D.
|
Vector2D |
getLeftTangent(double t) |
Vector2D |
getRightTangent(double t) |
Collection<Point2D> |
getSingularPoints()
Returns an empty set of Point2D, as a smooth curve does not have
singular points by definition.
|
Collection<? extends SmoothCurve2D> |
getSmoothPieces()
Returns a set of smooth curves.
|
boolean |
isSingular(double pos)
Returns always false, as a smooth curve does not have singular points
by definition.
|
draw, getAsAWTShape, getAsPolyline, getContinuousCurves, getFirstPoint, getLastPoint, wrapCurve
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clip, getCurvature, getReverseCurve, getSubCurve, getTangent, transform
appendPath, getAsPolyline, isClosed
draw, getAsAWTShape, getContinuousCurves, getFirstPoint, getIntersections, getLastPoint, getPoint, getPosition, getT0, getT1, project
contains, contains, getBoundingBox, getDistance, getDistance, isBounded, isEmpty
public Vector2D getLeftTangent(double t)
getLeftTangent
in interface ContinuousCurve2D
public Vector2D getRightTangent(double t)
getRightTangent
in interface ContinuousCurve2D
public Collection<? extends SmoothCurve2D> getSmoothPieces()
ContinuousCurve2D
getSmoothPieces
in interface ContinuousCurve2D
public Collection<Point2D> getSingularPoints()
getSingularPoints
in interface Curve2D
Curve2D.getSingularPoints()
public boolean isSingular(double pos)
isSingular
in interface Curve2D
pos
- the position of the point on the curveCurve2D.isSingular(double)
public abstract SmoothCurve2D clone()
Curve2D
clone
in interface Curve2D
clone
in class AbstractContinuousCurve2D
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.