In my experience, a PolylineCurve with CurveSelf Intersection does actually not act as expected. Just FYI.