Back to index

nux  3.0.0
Namespaces | Functions
Bezier.cpp File Reference
#include "../NuxCore.h"
#include "MathFunctions.h"
#include "Bezier.h"

Go to the source code of this file.

Namespaces

namespace  nux
 The Writer singleton is responsible for controlling where the logging message go.

Functions

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