#include <ge_prepass.h>
Segment of a bezier path. A Bezier path is a cubic parametric curve defined by a start point and a set of segments defining a smooth continuous curve. For each segment the curve runs from the previous segment's end point towards the first control point (c1), then bends to the second control point (c2) and ends up at the end point (p). The two control points (c1, c2) determine the direction of the curve at its end.
Public Member Functions | |
BezierPoint () | |
BezierPoint (const Vector2d &ic1, const Vector2d &ic2, const Vector2d &ip2) | |
BezierPoint (Vector2d &&ic1, Vector2d &&ic2, Vector2d &&ip2) | |
Public Attributes | |
Vector2d | c1 |
Vector2d | c2 |
Vector2d | p |
BezierPoint | ( | ) |
BezierPoint | ( | const Vector2d & | ic1, |
const Vector2d & | ic2, | ||
const Vector2d & | ip2 | ||
) |
BezierPoint | ( | Vector2d && | ic1, |
Vector2d && | ic2, | ||
Vector2d && | ip2 | ||
) |
Vector2d c1 |
control point 1.
Vector2d c2 |
control point 2.
Vector2d p |
end point.