org.jzy3d.maths.algorithms.interpolation.bernstein
Class BernsteinPolynomial

java.lang.Object
  extended by org.jzy3d.maths.algorithms.interpolation.bernstein.BernsteinPolynomial

public class BernsteinPolynomial
extends Object

Helper class for the spline3d classes in this package. Used to compute subdivision points of the curve.

Author:
toxi

Field Summary
 float[] b0
           
 float[] b1
           
 float[] b2
           
 float[] b3
           
 int resolution
           
 
Constructor Summary
BernsteinPolynomial(int res)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

b0

public float[] b0

b1

public float[] b1

b2

public float[] b2

b3

public float[] b3

resolution

public int resolution
Constructor Detail

BernsteinPolynomial

public BernsteinPolynomial(int res)
Parameters:
res - number of subdivision steps between each control point of the spline3d