Wiki > TV3D65 Index > TVMathLibrary
TVVec2CatmulRom
DESCRIPTION
Performs Catmul-Rom spline interpolation.
DECLARATION
| VB.NET | TVVec2CatmulRom(retOutVector As TV_2DVECTOR , vV0 As TV_2DVECTOR , vV1 As TV_2DVECTOR , vV2 As TV_2DVECTOR , vV3 As TV_2DVECTOR , s As Single) |
| C++ | void TVVec2CatmulRom(cTV_2DVECTOR* retOutVector , cTV_2DVECTOR* vV0 , cTV_2DVECTOR* vV1 , cTV_2DVECTOR* vV2 , cTV_2DVECTOR* vV3 , float s ) |
PARAMETERS
| NAME | OPTIONAL | DESCRIPTION |
| vV0 | No | Vector 0 (point before point 1) |
| vV1 | No | Vector 1 (start point) |
| vV2 | No | Vector 2 (end point) |
| vV3 | No | Vector 3 (point after point 2) |
| s | No | Interpolation coefficient |
RETURN VALUE
| NAME | OPTIONAL | DESCRIPTION |
| retOutVector | No | Interpolated vector |
EXAMPLES
TIPS
- Please add any notes or tips for this method.