scaleSimple



Scales a curve with respect to the intersection between the end point normals at a d distance.

Note that this will only work if that point exists, which is only guaranteed for simple segments.

You can call isSimple to check if this is suitable, and toSimpleList to get a list of simple curves.