|
| BezierSpline (const std::vector< Vector2 > &points, const std::vector< Vector2 > &tangents, float epsilon=0.001f) |
|
| BezierSpline (std::vector< Vector2 > &&points, std::vector< Vector2 > &&tangents, float epsilon=0.001f) |
|
virtual float | Sample (float argument) const override |
| Sample - User-defined method which processes provided value (currently vector of values - multidemensional curves will soon become deprecated). More...
|
|
std::vector< Vector2 > & | GetPoints () |
|
const std::vector< Vector2 > & | GetPoints () const |
|
std::vector< Vector2 > & | GetTangents () |
|
const std::vector< Vector2 > & | GetTangents () const |
|
CurveTypeId | GetTypeId () const override |
|
| Curve (const Curve &other)=default |
|
| Curve (Curve &&other)=default |
|
◆ Sample()
float grail::curves::BezierSpline::Sample |
( |
float |
argument | ) |
const |
|
overridevirtual |
Sample - User-defined method which processes provided value (currently vector of values - multidemensional curves will soon become deprecated).
- Parameters
-
- Returns
- another value
Implements grail::curves::Curve.
The documentation for this class was generated from the following files:
- GrailUtilityAI/Curves/BezierSpline.hh
- GrailUtilityAI/Curves/BezierSpline.cpp