UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TShiftGridIndexer3< RealType > Struct Template Reference

#include <GridIndexing3.h>

+ Inheritance diagram for UE::Geometry::TShiftGridIndexer3< RealType >:

Public Member Functions

 TShiftGridIndexer3 ()
 
 TShiftGridIndexer3 (const TVector< RealType > &origin, RealType cellSize)
 
FVector3i ToGrid (const TVector< RealType > &point) const
 
TVector< RealType > FromGrid (const FVector3i &gridpoint) const
 
TVector< RealType > FromGrid (const TVector< RealType > &RealGridPoint) const
 

Public Attributes

RealType CellSize
 
TVector< RealType > Origin
 

Detailed Description

template<typename RealType>
struct UE::Geometry::TShiftGridIndexer3< RealType >

Convert between integer grid coordinates and scaled+translated real-valued coordinates

Constructor & Destructor Documentation

◆ TShiftGridIndexer3() [1/2]

template<typename RealType >
UE::Geometry::TShiftGridIndexer3< RealType >::TShiftGridIndexer3 ( )
inline

◆ TShiftGridIndexer3() [2/2]

template<typename RealType >
UE::Geometry::TShiftGridIndexer3< RealType >::TShiftGridIndexer3 ( const TVector< RealType > &  origin,
RealType  cellSize 
)
inline

Member Function Documentation

◆ FromGrid() [1/2]

template<typename RealType >
TVector< RealType > UE::Geometry::TShiftGridIndexer3< RealType >::FromGrid ( const FVector3i gridpoint) const
inline

Convert integer grid coordinates to real-valued point

◆ FromGrid() [2/2]

template<typename RealType >
TVector< RealType > UE::Geometry::TShiftGridIndexer3< RealType >::FromGrid ( const TVector< RealType > &  RealGridPoint) const
inline

Convert real-valued grid coordinates to real-valued point

◆ ToGrid()

template<typename RealType >
FVector3i UE::Geometry::TShiftGridIndexer3< RealType >::ToGrid ( const TVector< RealType > &  point) const
inline

Convert real-valued point to integer grid coordinates

Member Data Documentation

◆ CellSize

template<typename RealType >
RealType UE::Geometry::TShiftGridIndexer3< RealType >::CellSize

Real-valued size of an integer grid cell

◆ Origin

template<typename RealType >
TVector<RealType> UE::Geometry::TShiftGridIndexer3< RealType >::Origin

Real-valued origin of grid, position of integer grid origin


The documentation for this struct was generated from the following file: