22template <
typename Real>
80 Real
const zero =
static_cast<Real
>(0);
151 for (
int32_t i = 0; i < 2; ++i)
163 Real
const zero =
static_cast<Real
>(0);
@ InPlace
Definition CoreMiscDefines.h:162
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition StaticArray.h:26
Definition DistLine2AxisAlignedBox2.h:24
TLine2< Real > Line
Definition DistLine2AxisAlignedBox2.h:27
Real ComputeResult()
Definition DistLine2AxisAlignedBox2.h:48
Real LineParameter
Definition DistLine2AxisAlignedBox2.h:33
Real Get()
Definition DistLine2AxisAlignedBox2.h:39
TBox2< Real > AxisAlignedBox
Definition DistLine2AxisAlignedBox2.h:28
Real GetSquared()
Definition DistLine2AxisAlignedBox2.h:43
TDistLine2AxisAlignedBox2(const TLine2< Real > LineIn, const TBox2< Real > &AxisAlignedBoxIn)
Definition DistLine2AxisAlignedBox2.h:35
TVector2< Real > BoxClosest
Definition DistLine2AxisAlignedBox2.h:32
Real ResultDistanceSquared
Definition DistLine2AxisAlignedBox2.h:31
TVector2< Real > LineClosest
Definition DistLine2AxisAlignedBox2.h:32
TDistLine2AxisAlignedBox2< float > FDistLine2AxisAlignedBox2f
Definition DistLine2AxisAlignedBox2.h:224
constexpr T DotPerp(const UE::Math::TVector2< T > &V1, const UE::Math::TVector2< T > &V2)
Definition VectorTypes.h:19
T DistanceSquared(const UE::Math::TVector2< T > &V1, const UE::Math::TVector2< T > &V2)
Definition VectorTypes.h:82
TDistLine2AxisAlignedBox2< double > FDistLine2AxisAlignedBox2d
Definition DistLine2AxisAlignedBox2.h:225
Definition AdvancedWidgetsModule.cpp:13
static constexpr UE_FORCEINLINE_HINT T Clamp(const T X, const T MinValue, const T MaxValue)
Definition UnrealMathUtility.h:592
Definition LineTypes.h:23
TVector2< T > Origin
Definition LineTypes.h:25
TVector2< T > Direction
Definition LineTypes.h:28
TVector2< T > GetExtent() const
Definition Box2D.h:305
TVector2< T > GetCenter() const
Definition Box2D.h:272