Struct MultigridIndexer3
map between "outer" (ie higher-res) grid coordinates and
"blocks" of those coordinates.
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public struct MultigridIndexer3 : IMultigridIndexer3
Constructors
MultigridIndexer3(Vector3i)
Declaration
public MultigridIndexer3(Vector3i blockSize)
Parameters
Type |
Name |
Description |
Vector3i |
blockSize |
|
Fields
BlockShift
Declaration
public Vector3i BlockShift
Field Value
BlockSize
Declaration
public Vector3i BlockSize
Field Value
OuterShift
Declaration
public Vector3i OuterShift
Field Value
Methods
FromBlock(Vector3i)
Declaration
public Vector3i FromBlock(Vector3i block_idx)
Parameters
Type |
Name |
Description |
Vector3i |
block_idx |
|
Returns
ToBlock(Vector3i)
Declaration
public GridLevelIndex ToBlock(Vector3i outer_index)
Parameters
Type |
Name |
Description |
Vector3i |
outer_index |
|
Returns
ToBlockIndex(Vector3i)
Declaration
public Vector3i ToBlockIndex(Vector3i outer_index)
Parameters
Type |
Name |
Description |
Vector3i |
outer_index |
|
Returns
ToBlockLocal(Vector3i)
Declaration
public Vector3i ToBlockLocal(Vector3i outer_index)
Parameters
Type |
Name |
Description |
Vector3i |
outer_index |
|
Returns
Implements