You are here: Start » AVL.NET » AVS.VoxelizePoint3DGrid Method

AVS.VoxelizePoint3DGrid Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void VoxelizePoint3DGrid
(
	AvlNet.Point3DGrid inPointGrid,
	float inVoxelSize,
	AvlNet.Point3DGrid outGrid
)

Parameters

Name Type Range Default Description
inPointGridAvlNet.Point3DGridInput Point3DGrid.
inVoxelSizefloat<0.0f, INF>0.5fDefines a voxel size used to subsample the grid. Default value: 0.5f.
outGridAvlNet.Point3DGridSubsampled points.

Function Overrides

See also