public static void SelfIntersection() { //过滤选择polyline var selected = GetSelectPolyline(true); if (selected.Count > 0) { NtsUtils.LineStringSelfIntersections(selected[0]); } }