VoxelizePoint3DGrid
Keeps one point from each occupied voxel of a given size. Value of all remaining grid points is set to invalid.
Syntax
C++
C#
Python
def VoxelizePoint3DGrid( inPointGrid: Point3DGrid, inVoxelSize: float, outGrid: Point3DGrid, /, *, inRoi: Region | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPointGrid | Point3DGrid | Input Point3DGrid | ||
![]() |
inRoi | Region | None | None | Region of interest | |
![]() |
inVoxelSize | float | 0.0 - ![]() |
Defines a voxel size used to subsample the grid. | |
![]() |
outGrid | Point3DGrid | Subsampled points |



