You are here: Start » AVL.NET » Invoke.VoxelizePoint3DGrid

Invoke.VoxelizePoint3DGrid

Keeps one point from each occupied voxel of a given size. Value of all remaining grid points is set to invalid.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void VoxelizePoint3DGrid
(
	Avl.Point3DGrid inPointGrid,
	Optional<Avl.Region> inRoi,
	float inVoxelSize,
	Avl.Point3DGrid outGrid
)

Parameters

Name Type Range Default Description
inPointGridAvl.Point3DGridInput Point3DGrid.
inRoiAtl.Optional<Avl.Region>Region of interest. Default value: atl::NIL.
inVoxelSizefloat<0.0f, INF>0.5fDefines a voxel size used to subsample the grid. Default value: 0.5f.
outGridAvl.Point3DGridSubsampled points.

See also