#include <bezier_curve.h>
Public Member Functions | |
Construction | |
| CL_BezierCurve () | |
| Constructs a bezier curve generator. | |
| virtual | ~CL_BezierCurve () |
Attributes | |
| std::vector< CL_Pointf > | get_control_points () const |
| Returns the control points of the bezier. | |
Operations | |
| void | add_control_point (float x, float y) |
| Adds a control point to bezier. | |
| void | add_control_point (const CL_Pointf &) |
| std::vector< CL_Pointf > | generate_curve_points (float split_angle_deg) |
| Generates points on the bezier curve. | |
| CL_Pointf | get_point_relative (float pos_0_to_1) const |
| Get a point on the bezier curve. | |
|
|
Constructs a bezier curve generator.
|
|
|
|
|
|
|
|
||||||||||||
|
Adds a control point to bezier.
|
|
|
Generates points on the bezier curve.
|
|
|
Returns the control points of the bezier.
|
|
|
Get a point on the bezier curve.
|
1.4.6