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

#include <GridIndexing3.h>

Public Member Functions

 TScaleGridIndexer3 ()
 
 TScaleGridIndexer3 (RealType CellSize)
 
FVector3i ToGrid (const TVector< RealType > &P) const
 
TVector< RealType > FromGrid (const FVector3i &GridPoint) const
 

Public Attributes

RealType CellSize
 

Detailed Description

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

Convert between integer grid coordinates and scaled real-valued coordinates (ie assumes integer grid origin == real origin)

Constructor & Destructor Documentation

◆ TScaleGridIndexer3() [1/2]

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

◆ TScaleGridIndexer3() [2/2]

template<typename RealType >
UE::Geometry::TScaleGridIndexer3< RealType >::TScaleGridIndexer3 ( RealType  CellSize)
inline

Member Function Documentation

◆ FromGrid()

template<typename RealType >
TVector< RealType > UE::Geometry::TScaleGridIndexer3< RealType >::FromGrid ( const FVector3i GridPoint) const
inline

Convert integer grid coordinates to real-valued point

◆ ToGrid()

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

Convert real-valued point to integer grid coordinates

Member Data Documentation

◆ CellSize

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

Real-valued size of an integer grid cell


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