#include <bezier.h>
|
template<typename T , uint LENGTH> |
static VectorArray< Vector< T, LENGTH > > | quadratic (const Vector< T, LENGTH > &begin, const Vector< T, LENGTH > &end, const Vector< T, LENGTH > &control, uint resolution) |
| Will return an array of points the size of resolution.
|
|
template<typename T , uint LENGTH> |
static VectorArray< Vector< T, LENGTH > > | cubic (const Vector< T, LENGTH > &begin, const Vector< T, LENGTH > &end, const Vector< T, LENGTH > &controlA, const Vector< T, LENGTH > &controlB, uint resolution) |
| Will return an array of points the size of resolution.
|
|
◆ cubic()
template<typename
T , uint LENGTH>
Will return an array of points the size of resolution.
- Parameters
-
The | first point in the curve. |
The | last point in the curve. |
The | first control point of the curve. |
The | second control point of the curve. |
resolution | |
- Returns
- A vertex-array with size resolution - 2
◆ quadratic()
template<typename
T , uint LENGTH>
Will return an array of points the size of resolution.
- Parameters
-
The | first point in the curve. |
The | last point in the curve. |
The | control point of the curve. |
The | number of points between begin and end. |
- Returns
- A vertex-array with size resolution - 2
The documentation for this class was generated from the following file: