subdivide an arc into line segments