Curvy  8.4.0
BSplineHelper Class Reference

## Detailed Description

Static methods used in the implementation of B-Splines

## Static Public Member Functions

static Vector3 DeBoorClamped (int p, int k, float u, int nPlus1, [NotNull] Vector3[] pArray)
De Boor algorithm for clamped B-Splines. parameter names taken from https://pages.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/B-spline/de-Boor.html. This is a variant of that implementation, explained in the english De Boor's page in Wikipedia More...

static Vector3 DeBoorUnclamped (int p, int k, float u, [NotNull] Vector3[] pArray)
De Boor algorithm for clamped B-Splines. parameter names taken from https://pages.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/B-spline/de-Boor.html. This is a variant of that implementation, explained in the english De Boor's page in Wikipedia More...

static int GetBSplineN (int controlPointsCount, int degree, bool closed)
Get the N number as defined in the B-Spline section here: https://pages.mtu.edu/~shene/COURSES/cs3621/NOTES/ More...

static void GetBSplineUAndK (float tf, bool isClamped, int p, int n, out float u, out int k)
Get the the U and K numbers as defined in the B-Spline section, De Boor's algorithm, here: https://pages.mtu.edu/~shene/COURSES/cs3621/NOTES/ More...

## Member Function Documentation

 static Vector3 DeBoorClamped ( int p, int k, float u, int nPlus1, [NotNull] Vector3[] pArray )
static

De Boor algorithm for clamped B-Splines. parameter names taken from https://pages.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/B-spline/de-Boor.html. This is a variant of that implementation, explained in the english De Boor's page in Wikipedia

 static Vector3 DeBoorUnclamped ( int p, int k, float u, [NotNull] Vector3[] pArray )
static

De Boor algorithm for clamped B-Splines. parameter names taken from https://pages.mtu.edu/~shene/COURSES/cs3621/NOTES/spline/B-spline/de-Boor.html. This is a variant of that implementation, explained in the english De Boor's page in Wikipedia

 static int GetBSplineN ( int controlPointsCount, int degree, bool closed )
static

Get the N number as defined in the B-Spline section here: https://pages.mtu.edu/~shene/COURSES/cs3621/NOTES/

 static void GetBSplineUAndK ( float tf, bool isClamped, int p, int n, out float u, out int k )
static

Get the the U and K numbers as defined in the B-Spline section, De Boor's algorithm, here: https://pages.mtu.edu/~shene/COURSES/cs3621/NOTES/

The documentation for this class was generated from the following file: