geotools 判断点线是否相交用到的jar库
/ 工厂GeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory();// WKTReader WKTReader reader = new WKTReader(geometryFactory);// 线对象Geometry line = reader.read("LINESTRING(120 40,120 20)");// 点对象Geometry point = reader.read("POINT(120 .
原创
2022-03-14 19:20:32 ·
416 阅读 ·
0 评论