Segmenting curves into elliptic arcs and straight lines | Synapse