25template<
typename ElemType>
57 Other.Elements.Reset();
65 Other.Elements.Reset();
100 if (result !=
nullptr)
175 template<
typename Func>
189 template<
typename Func>
199 if (
Found !=
nullptr)
214 ElemType*
NewElem =
new ElemType();
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
Definition UnrealString.h.inl:34
Definition SparseGrid3.h:27
TSparseGrid3 & operator=(const TSparseGrid3 &Other)=delete
FVector3i GetDimensions() const
Definition SparseGrid3.h:166
void AllocatedIteration(Func ElementFunc) const
Definition SparseGrid3.h:176
TSparseGrid3()
Definition SparseGrid3.h:39
float GetDensity() const
Definition SparseGrid3.h:150
FAxisAlignedBox3i Bounds
Definition SparseGrid3.h:32
ElemType * Get(const FVector3i &Index, bool bAllocateIfMissing)
Definition SparseGrid3.h:97
const ElemType * Get(const FVector3i &Index) const
Definition SparseGrid3.h:85
TSparseGrid3(const TSparseGrid3 &Other)=delete
TSparseGrid3 & operator=(TSparseGrid3 &&Other) noexcept
Definition SparseGrid3.h:59
FAxisAlignedBox3i GetBoundsInclusive() const
Definition SparseGrid3.h:158
TSparseGrid3(TSparseGrid3 &&Other) noexcept
Definition SparseGrid3.h:55
~TSparseGrid3()
Definition SparseGrid3.h:47
void RangeIteration(FVector3i MinIndex, FVector3i MaxIndex, Func ElementFunc) const
Definition SparseGrid3.h:190
ElemType * Allocate(const FVector3i &index)
Definition SparseGrid3.h:212
int GetCount() const
Definition SparseGrid3.h:142
bool Free(const FVector3i &Index)
Definition SparseGrid3.h:116
TMap< FVector3i, ElemType * > Elements
Definition SparseGrid3.h:30
void FreeAll()
Definition SparseGrid3.h:130
bool Has(const FVector3i &Index) const
Definition SparseGrid3.h:74
Definition AdvancedWidgetsModule.cpp:13
U16 Index
Definition radfft.cpp:71
Definition IntBoxTypes.h:184
static FAxisAlignedBox3i Empty()
Definition IntBoxTypes.h:279
int32 Volume() const
Definition IntBoxTypes.h:223
void Contain(const FVector3i &V)
Definition IntBoxTypes.h:238
FVector3i Diagonal() const
Definition IntBoxTypes.h:228
Definition IntVectorTypes.h:252
static FVector3i One()
Definition IntVectorTypes.h:330
int32 Z
Definition IntVectorTypes.h:257
int32 X
Definition IntVectorTypes.h:257
int32 Y
Definition IntVectorTypes.h:257