rm-graphical-computing-node 1.0.119 → 1.0.120
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.
- package/dist/index.mjs +6 -7
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9786,13 +9786,9 @@ var getMergeMeaning = (allProjectionResults, wallLines, wallVerifyType, averageP
|
|
|
9786
9786
|
}
|
|
9787
9787
|
}
|
|
9788
9788
|
}
|
|
9789
|
-
console.time("appendPcdObj");
|
|
9790
|
-
appendPcdObj("window", "door frame");
|
|
9791
9789
|
appendPcdObj("window", "metal framing of interior glass partitions");
|
|
9792
9790
|
appendPcdObj("balcony railing", "metal framing of interior glass partitions");
|
|
9793
9791
|
appendPcdObj("window", "balcony railing");
|
|
9794
|
-
appendPcdObj("window", "door frame");
|
|
9795
|
-
console.timeEnd("appendPcdObj");
|
|
9796
9792
|
for (let i = 0; i < pcdPointsArr.length; i++) {
|
|
9797
9793
|
const array = pcdPointsArr[i].array;
|
|
9798
9794
|
const delData = /* @__PURE__ */ new Set();
|
|
@@ -9840,8 +9836,11 @@ var getMergeMeaning = (allProjectionResults, wallLines, wallVerifyType, averageP
|
|
|
9840
9836
|
if (cloneData.type == "pipe" && array[k].type == "pipe" && pipeIsVerticalJ != pipeIsVerticalK) {
|
|
9841
9837
|
continue;
|
|
9842
9838
|
}
|
|
9843
|
-
if (
|
|
9844
|
-
|
|
9839
|
+
if (
|
|
9840
|
+
/**array[k].type == 'door frame' || */
|
|
9841
|
+
array[k].type == "window"
|
|
9842
|
+
) {
|
|
9843
|
+
let tol = array[k].type == "door frame" ? 0.5 : 0.5;
|
|
9845
9844
|
let boxVecK = getObbLongSideDirection(array[k].obb);
|
|
9846
9845
|
if (boxVecJ.length() > 0.3 && boxVecK.length() > 0.3) {
|
|
9847
9846
|
let isPPPP = isParallel(boxVecJ, boxVecK, tol);
|
|
@@ -15577,7 +15576,7 @@ function checkWindowLocationIsTrue(windowData, passageEntrance) {
|
|
|
15577
15576
|
let passP = getPt3(passage.p);
|
|
15578
15577
|
let distance2 = windowP.distanceTo(passP);
|
|
15579
15578
|
if (distance2 < passage.width / 2 + windowData.width / 2) {
|
|
15580
|
-
if (distance2 < 0.3 && Math.abs(windowData.width - passage.width) < 0.
|
|
15579
|
+
if (distance2 < 0.3 && Math.abs(windowData.width - passage.width) < 0.5 || passage.width < windowData.width) {
|
|
15581
15580
|
delDoorAndBemaData = true;
|
|
15582
15581
|
break;
|
|
15583
15582
|
} else {
|