Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Implicit
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Implicit/GridInterpolant.h |
| Include | #include "Implicit/GridInterpolant.h" |
Syntax
template<class GridType>
class TTriLinearGridInterpolant
Remarks
Tri-linear interpolant for a 3D dense Grid. Supports Grid translation via GridOrigin, but does not support scaling or rotation. If you need those, you can wrap this in something that does the xform.
GridType must have a GetValue() that returns a value to interpolate at a given FVector3i location (w/ locations ranging from [0,0,0] to Dimensions (exclusive))
Variables
| Type | Name | Description | |
|---|---|---|---|
| double | CellSize | ||
| FVector3i | Dimensions | ||
| GridType * | Grid | ||
| FVector3d | GridOrigin | ||
| double | Outside | Value to return if query point is outside Grid (in an SDF outside is usually positive). |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TTriLinearGridInterpolant
(
GridType* Grid, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FAxisAlignedBox3d | Bounds () |
||
| FVector3i | Cell
(
const FVector3d& Pt |
||
| void | get_value_pair
(
int I, |
||
| FVector3d | Gradient
(
const FVector3d& Pt |
||
| double | Value
(
const FVector3d& Pt |