rm-graphical-computing-node 1.0.100 → 1.0.102
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 +5 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9598,7 +9598,7 @@ var getMergeMeaning = (allProjectionResults, averagePz2, pointCloudCluster = nul
|
|
|
9598
9598
|
var checkSwitchSizeIsTrue = (retPcdPointArr) => {
|
|
9599
9599
|
for (let i = 0; i < retPcdPointArr.length; i++) {
|
|
9600
9600
|
const pcd = retPcdPointArr[i];
|
|
9601
|
-
if (!pcd.direction || !pcd.
|
|
9601
|
+
if (!pcd.direction || !pcd.category != "switch" && !pcd.category != "socket")
|
|
9602
9602
|
continue;
|
|
9603
9603
|
let direction = getPt3(pcd.direction);
|
|
9604
9604
|
const size = new THREE8.Vector3();
|
|
@@ -9610,14 +9610,14 @@ var checkSwitchSizeIsTrue = (retPcdPointArr) => {
|
|
|
9610
9610
|
let isPX = isParallel(xAxis, direction);
|
|
9611
9611
|
let isPY = isParallel(yAxis, direction);
|
|
9612
9612
|
if (isPX.parallel && (size.x > 0.06 || size.y < 0.05)) {
|
|
9613
|
-
pcd.
|
|
9613
|
+
pcd.isDelete = true;
|
|
9614
9614
|
} else if (isPY.parallel && (size.y > 0.06 || size.x < 0.05)) {
|
|
9615
|
-
pcd.
|
|
9615
|
+
pcd.isDelete = true;
|
|
9616
9616
|
}
|
|
9617
9617
|
if (size.z > 0.3)
|
|
9618
|
-
pcd.
|
|
9618
|
+
pcd.isDelete = true;
|
|
9619
9619
|
}
|
|
9620
|
-
return retPcdPointArr
|
|
9620
|
+
return retPcdPointArr;
|
|
9621
9621
|
};
|
|
9622
9622
|
var getMergeFloorMeaning = (allProjectionResults) => {
|
|
9623
9623
|
if (allProjectionResults.length == 0) return [];
|