Automatically splits a curve into multiple curves at inflection points (where the curvature changes direction).