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
Input value inPointGrid Point3DGrid Input Point3DGrid
Input value inRoi Region | None None Region of interest
Input value inVoxelSize float 0.0 - Defines a voxel size used to subsample the grid.
Output value outGrid Point3DGrid Subsampled points