TShiftGridIndexer3

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

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Util/GridIndexing3.h

Include

#include "Util/GridIndexing3.h"

Syntax

template<typename RealType>
struct TShiftGridIndexer3

Remarks

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

Variables

Name Description

Public variable

RealType

 

CellSize

Real-valued size of an integer grid cell

Public variable

FVector3< RealT...

 

Origin

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

Constructors

Name Description

Public function

TShiftGridIndexer3()

Public function

TShiftGridIndexer3

(
    const FVector3< RealType >& origin,
    RealType cellSize
)

Functions

Name Description

Public function Const

FVector3< Re...

 

FromGrid

(
    const FVector3i& gridpoint
)

Convert integer grid coordinates to real-valued point

Public function Const

FVector3< Re...

 

FromGrid

(
    const FVector3< RealType >& RealGr...
)

Convert real-valued grid coordinates to real-valued point

Public function Const

FVector3i

 

ToGrid

(
    const FVector3< RealType >& point
)

Convert real-valued point to integer grid coordinates

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss