4041424344454647484950
LineString l1 = (LineString) g1; Ring r2 = ((Polygon) g2).getShell(); // 线和环边界分离 if (im.get(Inner, Border) == EmptyDim && im.get(Border, Border) == EmptyDim) { if (r2.containIn(l1.firstPoint())) { within = true; return LineDim; } return EmptyDim; }