| | |
| | | // 航向重叠计算 待完成 |
| | | |
| | | // 旁向重叠计算 |
| | | double distance2 = PlaneCourseUtils.get(param.getHeight(), param.getFrame(), param.getFocal(), 0.8); |
| | | double distance2 = PlaneCourseUtils.get(param.getHeight(), param.getFrame(), param.getFocal(), param.getSideRatio()); |
| | | System.out.println("旁向重叠计算距离:" + distance2 * 100 / 100); |
| | | int intValue = (int) distance2; |
| | | |
| | |
| | | //最南纬点经纬度 |
| | | MapLatLng mapLatLngMin = PlaneCourseUtils.minLatPoint(param.getPolygon()); |
| | | |
| | | List<MapLatLng> topLeftPointList = PlaneCourseUtils.createPoint(boundingRectangle.topLeft, intValue, param.getBearing(), mapLatLngMin); |
| | | List<MapLatLng> topRightPointList = PlaneCourseUtils.createPoint(boundingRectangle.topRight, intValue, param.getBearing(), mapLatLngMin); |
| | | List<MapLatLng> topLeftPointList = PlaneCourseUtils.createPoint(boundingRectangle.topLeft, intValue, param.getBearing() * 2, mapLatLngMin); |
| | | List<MapLatLng> topRightPointList = PlaneCourseUtils.createPoint(boundingRectangle.topRight, intValue, param.getBearing() * 2, mapLatLngMin); |
| | | |
| | | List<LineString> lineStrings = PlaneCourseUtils.createLine(topLeftPointList, topRightPointList); |
| | | |