Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial
Inheritance Hierarchy
- TBlockedGrid3Layout
- TBasicBlockedDenseGrid3
- TBlockedDenseGrid3
- TBlockedGrid3
- TSparseNarrowBandMeshSDF::FScatterCounter
- TSparseNarrowBandMeshSDF::FTriIDBlockGrid
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/BlockedLayout3.h |
| Include | #include "Spatial/BlockedLayout3.h" |
Syntax
template<int32 BlockSize_>
class TBlockedGrid3Layout
Remarks
Spatial decomposition of a region of 3d ijk space into 3d cubes of size BlockSize (per side). This class gives a consistent translation between locations in 3d lattice space and blocks of a spatial decomposition; it is independent of any sort of data that you might want to associate with those locations. See BlockedDenseGrid3.h for usage.
Variables
Constructors
| Type | Name | Description | |
|---|---|---|---|
TBlockedGrid3Layout
(
FVector3i Dims |
|||
TBlockedGrid3Layout
(
int32 DimI, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | BlockIJKToBlockIndex
(
const FVector3i& BlockIJK |
||
| FVector3i | BlockIndexToBlockIJK
(
const int32 BlockIndex |
||
| FAxisAlignedBox3i | Bounds () |
||
| FAxisAlignedBox3i | |||
| void | GetBlockAndLocalIndex
(
const FVector3i& IJK, |
Return the block index and local index of the cell at (I,J,K). | |
| void | GetBlockAndLocalIndex
(
int32 I, |
||
| const FVector3i & | |||
| const FVector3i & | |||
| int32 | IJKtoBlockIndex
(
const FVector3i& IJK |
||
| bool | IsValidBlockIJK
(
const FVector3i& BlockIJK |
||
| bool | IsValidIJK
(
const FVector3i& IJK |
||
| void | Resize
(
int32 DimI, |
Recompute the block dimensions required to cover the requested cell dimensions. | |
| int64 | Size () |
Typedefs
| Name | Description |
|---|---|
| FBlockData3Layout |
Constants
| Name | Description |
|---|---|
| BlockElemCount | |
| BlockSize |