|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISimpleSpline
| Method Summary | |
|---|---|
void |
addPoint(IVector3 p)
Adds a control point to the end of the spline. |
void |
clear()
Clears all the points in the spline. |
int |
getNumPoints()
Gets the number of control points in the spline. |
IVector3 |
getPoint(int index)
Gets the detail of one of the control points of the spline. |
void |
interpolate(IVector3 returnValue,
float t)
Returns an interpolated point based on a parametric value over the whole series. |
void |
interpolate(IVector3 returnValue,
long fromIndex,
float t)
Interpolates a single segment of the spline given a parametric value. |
void |
recalcTangents()
Recalculates the tangents associated with this spline. |
void |
setAutoCalculate(boolean autoCalc)
Tells the spline whether it should automatically calculate tangents on demand as points are added. |
void |
updatePoint(int index,
IVector3 value)
Updates a single point in the spline. |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Method Detail |
|---|
void addPoint(IVector3 p)
IVector3 getPoint(int index)
int getNumPoints()
void clear()
void updatePoint(int index,
IVector3 value)
void interpolate(IVector3 returnValue,
float t)
void interpolate(IVector3 returnValue,
long fromIndex,
float t)
void setAutoCalculate(boolean autoCalc)
void recalcTangents()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||