Constructor ChannelGrid
| Edit this page View SourceChannelGrid(Vector3, BBox)
Constructs a ChannelGrid with the specified voxel size and bounds.
Declaration
public ChannelGrid(Vector3 voxelSize, BBox bounds)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | voxelSize | The size of each voxel in the grid. |
| BBox | bounds | The spatial bounds that the grid should cover. |
ChannelGrid(Vector3, BBox, int)
Constructs a ChannelGrid with the specified voxel size, bounds, and padding.
Declaration
public ChannelGrid(Vector3 voxelSize, BBox bounds, int paddingVoxels)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | voxelSize | The size of each voxel in the grid. |
| BBox | bounds | The spatial bounds that the grid should cover. |
| int | paddingVoxels | The number of voxels to pad around the bounds in each dimension. |
ChannelGrid(GridMeta)
Constructs a ChannelGrid from an existing GridMeta.
Declaration
public ChannelGrid(GridMeta meta)
Parameters
| Type | Name | Description |
|---|---|---|
| GridMeta | meta | Grid metadata defining dimensions and layout. |