com.kitfox.svg.animation
Class Bezier
java.lang.Object
com.kitfox.svg.animation.Bezier
public class Bezier
- extends Object
http://mathworld.wolfram.com/BezierCurve.html
- Author:
- kitfox
|
Constructor Summary |
Bezier(double sx,
double sy,
double[] coords,
int numCoords)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bezier
public Bezier(double sx,
double sy,
double[] coords,
int numCoords)
setCoords
public void setCoords(double sx,
double sy,
double[] coords,
int numCoords)
getLength
public double getLength()
- Retuns aproximation of the length of the bezier
getFinalPoint
public Point2D.Double getFinalPoint(Point2D.Double point)
eval
public Point2D.Double eval(double param,
Point2D.Double point)
Copyright © 2011-2012 Barchart, Inc.. All Rights Reserved.