rm-graphical-computing-node 1.0.42 → 1.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -4852,7 +4852,7 @@ var getBeamLine = async (lines, runDataList, pcdData, lineReader, lineEditor, on
4852
4852
  let vecNegate = vec2.clone().negate();
4853
4853
  let ptCenterOther = ptCenter.clone().addScaledVector(vecNegate, dist3 + 0.1);
4854
4854
  let isInsert = segmentsIntersect2D(line3.start, line3.end, ptCenter, ptCenterOther);
4855
- let isTrue = !isDoor && !tmpDoorBeamData.isDoor && (length1 > length22 * 2 || length22 > length1 * 2);
4855
+ let isTrue = !isDoor && !tmpDoorBeamData.isDoor && (length1 > length22 * 2.5 || length22 > length1 * 2.5);
4856
4856
  if (dist3 < 0.4 && isInsert != null && !isTrue) {
4857
4857
  let isSameLine = false;
4858
4858
  for (let v2 = 0; v2 < line2.doorAndBeamData.length; v2++) {
@@ -5612,7 +5612,7 @@ function clonePoint(p) {
5612
5612
 
5613
5613
  // src/geometry/colLine.mjs
5614
5614
  import * as gfx from "rm-gxf-computing-rusts";
5615
- var getColLine = async (lines, runDataList, collectDataPath, pointCloudCluster = null) => {
5615
+ var getColLine = (lines, runDataList, collectDataPath, pointCloudCluster = null) => {
5616
5616
  if (!lines || lines.length <= 0) return;
5617
5617
  let colDatas = {
5618
5618
  rectangles: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rm-graphical-computing-node",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "description": "墙体/梁线/点云语义计算库(依赖 Python 与 three.js)",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",