Rename processPolyline() to checkControlPointReuseInPolyline()