燕山石化溯源三维电子沙盘-【后端】-服务
13693261870
2023-04-27 5579b3cf5d5e2a5b7ec90c89fa843639ba7e2a87
src/main/java/com/yssh/utils/CalculateUtils.java
@@ -49,9 +49,10 @@
    * @Description: 组装id
    */
   public static List<String> assembleId(List<MonitorPointPosition> checkPoints) {
      List<String> ids2d = new ArrayList<String>();
      List<String> ids2d = new ArrayList<>();
      for (MonitorPointPosition point : checkPoints) {
         ids2d.add(point.getX() + "_" + point.getY() + "_" + point.getZ());
         // ids2d.add(point.getX() + "_" + point.getY() + "_" + point.getZ());
         ids2d.add(point.getX() + "_" + point.getY() + "_" + 0);
      }
      return ids2d;
   }
@@ -66,7 +67,7 @@
    * @backup 强制将层级改为 0
    */
   public static List<String> aloneCrosswiseExtend(MonitorPointPosition checkPoint, int range) {
      List<String> ids = new ArrayList<String>();
      List<String> ids = new ArrayList<>();
      Integer x = checkPoint.getX();
      Integer y = checkPoint.getY();
      for (int i = x - range / 2; i <= x + range / 2; i++) {
@@ -79,7 +80,7 @@
   }
   public static List<String> temporary(MonitorPointPosition point, int range) {
      List<String> ids3d = new ArrayList<String>();
      List<String> ids3d = new ArrayList<>();
      Integer x = point.getX();
      Integer y = point.getY();
      Integer z = point.getZ();