Static methods used in the implementation of B-Splines
|
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...
|
|