UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MatrixInterfaces.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "VectorTypes.h"
7
8
9namespace UE
10{
11 namespace Solvers
12 {
13 using namespace UE::Geometry;
14
19 template<typename RealType>
21 {
22 public:
25
28
30 {
32 : I(IIn)
33 , J(JIn)
34 , Value(ValueIn)
35 {}
38 RealType Value;
39 };
40
43 {
44 if (!AddEntryFunc)
45 {
46 return;
47 }
48 for (int32 i = 0; i < Num; ++i)
49 {
50 const FTupleData& Tuple = DataStart[Num];
51 AddEntryFunc(Tuple.I, Tuple.J, Tuple.Value);
52 }
53 };
54 };
55
58
59
60
65 {
68
71
74
76 bool bPostFix = false;
77
79 double Weight = 1.0;
80 };
81
82
83
88 {
91
94
97
99 bool bPostFix = false;
100
102 double Weight = 1.0;
103 };
104
105
106 }
107}
108
109
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
@ Num
Definition MetalRHIPrivate.h:234
Definition FunctionFwd.h:19
Definition MatrixInterfaces.h:21
TUniqueFunction< void(int32)> ReserveEntriesFunc
Definition MatrixInterfaces.h:24
TUniqueFunction< void(int32, int32, RealType)> AddEntryFunc
Definition MatrixInterfaces.h:27
TUniqueFunction< void(const FTupleData *, int32)> AddEntriesFunc
Definition MatrixInterfaces.h:42
Definition ParametricSurfaceData.h:18
TSparseMatrixAssembler< double > FSparseMatrixAssemblerd
Definition MatrixInterfaces.h:56
TSparseMatrixAssembler< float > FSparseMatrixAssemblerf
Definition MatrixInterfaces.h:57
Definition AdvancedWidgetsModule.cpp:13
static TVector2< double > Zero()
Definition Vector2D.h:79
static TVector< double > Zero()
Definition Vector.h:112
Definition MatrixInterfaces.h:65
int32 ElementID
Definition MatrixInterfaces.h:67
bool bPostFix
Definition MatrixInterfaces.h:76
double Weight
Definition MatrixInterfaces.h:79
int32 ConstraintIndex
Definition MatrixInterfaces.h:70
FVector3d Position
Definition MatrixInterfaces.h:73
Definition MatrixInterfaces.h:88
FVector2d Position
Definition MatrixInterfaces.h:96
int32 ConstraintIndex
Definition MatrixInterfaces.h:93
int32 ElementID
Definition MatrixInterfaces.h:90
double Weight
Definition MatrixInterfaces.h:102
bool bPostFix
Definition MatrixInterfaces.h:99
Definition MatrixInterfaces.h:30
RealType Value
Definition MatrixInterfaces.h:38
int32 I
Definition MatrixInterfaces.h:36
FTupleData(int32 IIn, int32 JIn, RealType ValueIn)
Definition MatrixInterfaces.h:31
int32 J
Definition MatrixInterfaces.h:37