Kanzi  3.9.9
Kanzi Engine Java API
Spline Class Reference

Spline is a piecewise polynomial curve that defines a path in a 3-dimensional space. More...

Inheritance diagram for Spline:
[legend]

Public Member Functions

long getNative ()
 Gets a pointer to the backing C++ instance. More...
 

Protected Attributes

SplineWrapper mWrapper
 

Detailed Description

Spline is a piecewise polynomial curve that defines a path in a 3-dimensional space.

The spline consists of any number of piecewise segments. Each piecewise segment of the spline is a polynomial of the form: y = a + b*x + c*x^2 + d*x^3 + ..., where coefficients a,b,c,d... are Vector3 values that define the spline, x is the time point value from range (0,1) that is used to index the spline, and y is the resulting value of the path.

Member Function Documentation

long getNative ( )

Gets a pointer to the backing C++ instance.

Returns
A pointer to the backing C++ instance.