nux-0.9.46

NuxCore/Math/Bezier.h File Reference

#include "Constants.h"

Go to the source code of this file.

Namespaces

namespace  nux

Functions

NUX_DECLSPEC_DLL t_double * nux::Bernstein (t_int n, t_double t)
 Evaluate the Bernstein polynomial of degree n, at parameter t.
NUX_DECLSPEC_DLL void nux::Bezier_XY (t_int n, t_double t, t_double xcon[], t_double ycon[], t_double *xval, t_double *yval)
 Evaluate 2D Bezier curve of degree n.
NUX_DECLSPEC_DLL void nux::Bezier_XYZ (t_int n, t_double t, t_double xcon[], t_double ycon[], t_double zcon[], t_double *xval, t_double *yval, t_double *zval)
 Evaluate 2D Bezier curve of degree n.