public class Bezier extends Object
| Constructor and Description |
|---|
Bezier(double sx,
double sy,
double[] coords,
int numCoords) |
| Modifier and Type | Method and Description |
|---|---|
Point2D.Double |
eval(double param,
Point2D.Double point) |
Point2D.Double |
getFinalPoint(Point2D.Double point) |
double |
getLength()
Retuns aproximation of the length of the bezier
|
void |
setCoords(double sx,
double sy,
double[] coords,
int numCoords) |
public void setCoords(double sx,
double sy,
double[] coords,
int numCoords)
public double getLength()
public Point2D.Double getFinalPoint(Point2D.Double point)
public Point2D.Double eval(double param, Point2D.Double point)
Copyright © 2022. All rights reserved.