Adds a point to the curve. For each side, if the *_mode is TANGENT_LINEAR, the *_tangent angle (in degrees) uses the slope of the curve halfway to the adjacent point. Allows custom assignments to the *_tangent angle if *_mode is set to TANGENT_FREE.

void bake()

Recomputes the baked cache of points for the curve.

void clean_dupes()

Removes points that are closer than CMP_EPSILON (0.00001) units to their neighbor on the curve.