JTS版本:1.13.0
com.vividsolutions.jts.geom中CoordinateList
add(Coordinate[] coord, boolean allowRepeated, boolean direction)
allowRepeated 是否允許重複點,設定為false自動删除重複點
direction 是否正向添加,設定為false自動反向添加
clone()方法有bug,colone後資料重複,使用sp.points=new CoordinateList(this.points.toCoordinateArray());
打斷線用
Geometry.union()