Adds a method to the Curve2D and Curve3D classes to easily clear the curve. So you don't have to remove each point manually.