rm-graphical-computing-node 1.0.50 → 1.0.51
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 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10966,11 +10966,14 @@ var getObliqueSlabData = (lines, runDataList, pointCloudCluster = null) => {
|
|
|
10966
10966
|
let area2 = calculatePolygonArea(path3);
|
|
10967
10967
|
if (area2 < 1) continue;
|
|
10968
10968
|
getPathZ(path3, newPoints[x]);
|
|
10969
|
+
const { minZ, maxZ } = getPointsMinAndMax(newPoints[x]);
|
|
10969
10970
|
slabDatas.push({
|
|
10970
10971
|
// points: newPoints[x],
|
|
10971
10972
|
contour: path3,
|
|
10972
|
-
|
|
10973
|
-
|
|
10973
|
+
minZ,
|
|
10974
|
+
maxZ
|
|
10975
|
+
// normal: lines[i][0],
|
|
10976
|
+
// area: area
|
|
10974
10977
|
});
|
|
10975
10978
|
}
|
|
10976
10979
|
}
|