Compute comprehensive statistics for a point cloud.
Returns a JSON string with:
pointCount
bounds
{ minX, minY, minZ, maxX, maxY, maxZ }
centroid
[cx, cy, cz]
averagePointSpacing
density
For large point clouds (>100K points), nearest-neighbor computation is sampled to keep performance reasonable.
Compute comprehensive statistics for a point cloud.
Returns a JSON string with:
pointCount: Number of pointsbounds:{ minX, minY, minZ, maxX, maxY, maxZ }centroid:[cx, cy, cz]averagePointSpacing: Average nearest-neighbor distance (sampled)density: Points per cubic meterFor large point clouds (>100K points), nearest-neighbor computation is sampled to keep performance reasonable.