Navigation
API > API/Runtime > API/Runtime/GeometryCore
Convert between integer grid coordinates and scaled+translated real-valued coordinates
| Name | TShiftGridIndexer2 |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Util/GridIndexing2.h |
| Include Path | #include "Util/GridIndexing2.h" |
Syntax
template<typename RealType>
struct TShiftGridIndexer2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TShiftGridIndexer2
(
const TVector2< RealType >& origin, |
Util/GridIndexing2.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CellSize | RealType | Real-valued size of an integer grid cell | Util/GridIndexing2.h | |
| Origin | TVector2< RealType > | Real-valued origin of grid, position of integer grid origin | Util/GridIndexing2.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Compute the real-valued 2D box of an integer grid coordinates | Util/GridIndexing2.h | ||
| Convert integer grid coordinates to real-valued point | Util/GridIndexing2.h | ||
| Convert real-valued grid coordinates to real-valued point | Util/GridIndexing2.h | ||
| Convert real-valued point to integer grid coordinates | Util/GridIndexing2.h | ||
| Convert real-valued 2D box to a rectangle using integer grid coordinates | Util/GridIndexing2.h | ||
| Convert real-valued 3D box to a rectangle using integer grid coordinates | Util/GridIndexing2.h |