TScaleGridIndexer3

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

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 TScaleGridIndexer3

Remarks

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

Variables

Name Description

Public variable

RealType

 

CellSize

Real-valued size of an integer grid cell

Constructors

Name Description

Public function

TScaleGridIndexer3()

Public function

TScaleGridIndexer3

(
    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

FVector3i

 

ToGrid

(
    const FVector3< RealType >& P
)

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