You are here: Start » FIL.NET » Invoke.VoxelizePoint3DGrid
Keeps one point from each occupied voxel of a given size. Value of all remaining grid points is set to invalid.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void VoxelizePoint3DGrid ( Fil.Point3DGrid inPointGrid, Optional<Fil.Region> inRoi, float inVoxelSize, Fil.Point3DGrid outGrid )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPointGrid | Fil.Point3DGrid | Input Point3DGrid. | ||
![]() | inRoi | Ftl.Optional<Fil.Region> | Region of interest. Default value: ftl::NIL. | ||
![]() | inVoxelSize | float | <0.0f, INF> | 0.5f | Defines a voxel size used to subsample the grid. Default value: 0.5f. |
![]() | outGrid | Fil.Point3DGrid | Subsampled points. |