Piecewise representation of curves with concatenated arcs via detection of appropriate break points