25 template<
typename RealType>
44 template<
typename RealType>
64 template<
typename RealType>
82template<
typename RealType>
98 for (
int32 i = 0; i < 2; i++)
100 for (
int32 j = 0; j < 2; j++)
102 P.X =
B[i].X; Q.
X =
B[i].X;
103 P.Y =
B[j].Y; Q.
Y =
B[j].Y;
104 P.Z =
B[0].Z; Q.
Z =
B[1].Z;
107 P.Y =
B[i].Y; Q.
Y =
B[i].Y;
108 P.Z =
B[j].Z; Q.
Z =
B[j].Z;
109 P.X =
B[0].X; Q.
X =
B[1].X;
112 P.Z =
B[i].Z; Q.
Z =
B[i].Z;
113 P.X =
B[j].X; Q.
X =
B[j].X;
114 P.Y =
B[0].Y; Q.
Y =
B[1].Y;
122template<
typename RealType>
124 int32 NumSteps, RealType Radius,
132 for (
int32 i = 0; i <= NumSteps; ++i)
134 RealType t = (RealType)i / (RealType)NumSteps;
149template<
typename RealType>
162 for (
int32 i = 0; i <= NumSteps; ++i)
164 RealType t = (RealType)i / (RealType)NumSteps;
165 RealType
Angle = ((RealType)1 - t) * StartAngle + (t)*EndAngle;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition AssetRegistryState.h:50
Definition MathUtil.h:150
static RealType Cos(const RealType Value)
Definition MathUtil.h:372
static RealType Sin(const RealType Value)
Definition MathUtil.h:366
void GenerateArcSegments(int32 NumSteps, RealType Radius, RealType StartAngle, RealType EndAngle, const TVector< RealType > &Center, const TVector< RealType > &AxisX, const TVector< RealType > &AxisY, const TTransformSRT3< RealType > &Transform, TFunctionRef< void(const TVector< RealType > &A, const TVector< RealType > &B)> EmitLineFunc)
Definition LineSegmentGenerators.h:150
void GenerateBoxSegments(const TVector< RealType > &HalfDimensions, const TVector< RealType > &Center, const TVector< RealType > &AxisX, const TVector< RealType > &AxisY, const TVector< RealType > &AxisZ, const TTransformSRT3< RealType > &Transform, TFunctionRef< void(const TVector< RealType > &A, const TVector< RealType > &B)> EmitLineFunc)
Definition LineSegmentGenerators.h:83
void GenerateCircleSegments(int32 NumSteps, RealType Radius, const TVector< RealType > &Center, const TVector< RealType > &AxisX, const TVector< RealType > &AxisY, const TTransformSRT3< RealType > &Transform, TFunctionRef< void(const TVector< RealType > &A, const TVector< RealType > &B)> EmitLineFunc)
Definition LineSegmentGenerators.h:123
Definition AdvancedWidgetsModule.cpp:13
T Z
Definition Vector.h:68
T Y
Definition Vector.h:65
T X
Definition Vector.h:62