Deals with vector curves, in both 2D and 3D