rm-graphical-computing-node 1.0.39 → 1.0.40
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 +2 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8501,7 +8501,7 @@ var drawStaircase = (pcdPointsArr, scene) => {
|
|
|
8501
8501
|
}
|
|
8502
8502
|
return pointCloudGroup;
|
|
8503
8503
|
};
|
|
8504
|
-
var getMergeMeaning = (allProjectionResults, averagePz2, pointCloudCluster = null) => {
|
|
8504
|
+
var getMergeMeaning = (allProjectionResults, averagePz2, pointCloudCluster = null, tolerancePointCloudCluster = 0.1) => {
|
|
8505
8505
|
if (allProjectionResults.length == 0) return [];
|
|
8506
8506
|
if (!averagePz2) averagePz2 = allProjectionResults[0].averagePz;
|
|
8507
8507
|
const pcdPointsArr = [];
|
|
@@ -9027,7 +9027,7 @@ var getMergeMeaning = (allProjectionResults, averagePz2, pointCloudCluster = nul
|
|
|
9027
9027
|
if (points.length < 50)
|
|
9028
9028
|
continue;
|
|
9029
9029
|
let clusterResult = pointCloudCluster([points], {
|
|
9030
|
-
tolerance:
|
|
9030
|
+
tolerance: tolerancePointCloudCluster,
|
|
9031
9031
|
minClusterSize: 50,
|
|
9032
9032
|
maxClusterSize: 1e7,
|
|
9033
9033
|
threadCount: 1
|
|
@@ -9072,7 +9072,6 @@ var getMergeMeaning = (allProjectionResults, averagePz2, pointCloudCluster = nul
|
|
|
9072
9072
|
}
|
|
9073
9073
|
}
|
|
9074
9074
|
}
|
|
9075
|
-
return pcdPointsArr;
|
|
9076
9075
|
const retPcdPointArr = [];
|
|
9077
9076
|
for (let i = 0; i < pcdPointsArr.length; i++) {
|
|
9078
9077
|
const array = pcdPointsArr[i].array;
|