Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## toxi.geom
Class BernsteinPolynomial

    java.lang.Object
      toxi.geom.BernsteinPolynomial

    public class BernsteinPolynomial

extends java.lang.Object

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

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
`equals, 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD