删除无用代码

泸州-视觉+扫码-昆船
LAPTOP-S9HJSOEB\昊天 2 months ago
parent 2613bb16b5
commit 6c2350517f

@ -82,35 +82,7 @@ public class PointToImageMapper {
}
}
int count = 0;
// for (int h =1; h<=5; h++){
// if (map.containsKey(h) && map.get(h).size()>1000){
// double area = 0;
// try {
// List<double[]> pointsLayers = map.get(h);
// if (map.containsKey(h+1)&& map.get(h+1).size()>1000){
// pointsLayers.addAll(map.get(h+1));
// }
//
// area = drawPointsAndCalculateArea(pointsLayers, String.valueOf(h),pojo,l,w);
//
// } catch (Exception e) {
// throw new RuntimeException(e);
// }
// if (area>0){
// System.out.println("面积:"+area);
// System.out.println("个数:"+area/(double) (l*w));
// int i =(int) Math.min(Math.round(area/(double) (l*w)),layersCount);
// if (i==0|| i>=layersCount) {
// count+=layersCount;
// }else {
// return i +count;
// }
// }
// }else {
//
// count+=layersCount;
// }
// }
for (int h =5; h>0; h--){
if (map.containsKey(h) && map.get(h).size()>1000){
double area = 0;

Loading…
Cancel
Save