Package toxi.geom
Class BernsteinPolynomial
java.lang.Object
toxi.geom.BernsteinPolynomial
Helper class for the spline3d classes in this package. Used to compute
subdivision points of the curve.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
b0
public float[] b0 -
b1
public float[] b1 -
b2
public float[] b2 -
b3
public float[] b3 -
resolution
public int resolution
-
-
Constructor Details
-
BernsteinPolynomial
public BernsteinPolynomial(int res) - Parameters:
res
- number of subdivision steps between each control point of the spline3d
-