Screened Poisson reconstruction producing watertight meshes. Requires normals.
Usage
px_poisson_reconstruct(cloud, depth = 8L, density_threshold = NULL)
Arguments
- cloud
A px_cloud with normals.
- depth
Integer — octree depth (higher = more detail).
- density_threshold
Numeric or NULL. If provided, removes
low-density vertices (0.0–1.0 quantile).
Value
A mesh_result object with components:
- vertices
Numeric matrix (V x 3)
- faces
Integer matrix (F x 3) — triangle indices
- vertex_normals
Numeric matrix (V x 3) or NULL
- n_vertices
Integer
- n_faces
Integer