#include <splinemapper.h>
Represents a generator point in a spline.
Public Member Functions | |
Bool | operator== (SplineMapperKnot &k) |
Bool | operator!= (SplineMapperKnot &k) |
Public Attributes | |
Vector2d | position |
SPLINEMAPPER_KNOT_INTERPOLATION_TYPE | interpolation |
Vector2d | tangentLeft |
Vector2d | tangentRight |
Int | flags |
Bool operator== | ( | SplineMapperKnot & | k | ) |
Equality operator. Checks if two knots are equal.
[in] | k | A spline knot. |
Bool operator!= | ( | SplineMapperKnot & | k | ) |
Inequality operator. Checks if two knots are not equal.
[in] | k | A spline knot. |
Vector2d position |
Position. To make sure position of new/modified knots are inside spline range (.
SPLINEMAPPER_KNOT_INTERPOLATION_TYPE interpolation |
Interpolation.
Vector2d tangentLeft |
Left Tangent. Used only with Bezier interpolation type. Ignored by first point.
Vector2d tangentRight |
Right Tangent. Used only with Bezier interpolation type. Ignored by last point.
Int flags |