|
| template<BezierCurveType Type, CurveValueConcept T> |
| static T | evaluateCurve (std::span< const T > P, const float t) |
| | Evaluate a point on a Bezier curve using De Casteljau's Algorithm.
|
| |
| template<BezierCurveType Type, CurveValueConcept T> |
| static T | evaluateDerivativeCurve (std::span< const T > P, const float t) |
| | Evaluate a derivated Bezier curve.
|
| |
◆ evaluateCurve()
template<BezierCurveType Type, CurveValueConcept T>
| static T oe::util::Bezier::evaluateCurve |
( |
std::span< const T > |
P, |
|
|
const float |
t |
|
) |
| |
|
inlinestatic |
Evaluate a point on a Bezier curve using De Casteljau's Algorithm.
Does not use any loops
- Parameters
-
| P | Control points |
| t | Position on the curve between 0.0 (first control point) and 1.0 (last control point) |
◆ evaluateDerivativeCurve()
template<BezierCurveType Type, CurveValueConcept T>
| static T oe::util::Bezier::evaluateDerivativeCurve |
( |
std::span< const T > |
P, |
|
|
const float |
t |
|
) |
| |
|
inlinestatic |
Evaluate a derivated Bezier curve.
Used to compute normals or surfaces
- Parameters
-
| P | Control points |
| t | Position on the curve between 0.0 (first control point) and 1.0 (last control point) |
The documentation for this struct was generated from the following file: