Self-intersecting sp-objects
Issue #2
new
connect.segments
does not handle near-non-manifold regions, sometimes creating self-intersecting or incorrectly connected curves where more than two segments meet at a single location.