23template<
typename RealType>
169 template<
typename Po
intFuncType>
189 template<
typename Po
intPredicateType>
215 (((
Index & 1) != 0) ^ ((
Index & 2) != 0)) ? 1 : 0,
216 ((
Index / 2) % 2 == 0) ? 0 : 1,
313template<
typename RealType>
443 template<
typename Po
intFuncType>
458 template<
typename Po
intPredicateType>
#define check(expr)
Definition AssertionMacros.h:314
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define FVector
Definition IOSSystemIncludes.h:8
Definition MathUtil.h:150
static RealType Abs(const RealType Value)
Definition MathUtil.h:215
TOrientedBox2< double > FOrientedBox2d
Definition OrientedBoxTypes.h:516
TOrientedBox2< float > FOrientedBox2f
Definition OrientedBoxTypes.h:515
TOrientedBox3< double > FOrientedBox3d
Definition OrientedBoxTypes.h:518
TOrientedBox3< float > FOrientedBox3f
Definition OrientedBoxTypes.h:517
Definition AdvancedWidgetsModule.cpp:13
U16 Index
Definition radfft.cpp:71
Definition UnrealMathUtility.h:270
static constexpr UE_FORCEINLINE_HINT T Clamp(const T X, const T MinValue, const T MaxValue)
Definition UnrealMathUtility.h:592
Definition OrientedBox.h:13
FVector Center
Definition OrientedBox.h:15
Definition IndexTypes.h:27
Definition IndexTypes.h:158
Definition BoxTypes.h:637
Definition BoxTypes.h:247
Definition FrameTypes.h:27
Definition MatrixTypes.h:17
Definition OrientedBoxTypes.h:315
TVector2< RealType > Center() const
Definition OrientedBoxTypes.h:374
TVector2< RealType > Diagonal() const
Definition OrientedBoxTypes.h:386
bool Contains(const TVector2< RealType > &Point) const
Definition OrientedBoxTypes.h:417
RealType Perimeter() const
Definition OrientedBoxTypes.h:398
RealType Area() const
Definition OrientedBoxTypes.h:392
void EnumerateCorners(PointFuncType CornerPointFunc) const
Definition OrientedBoxTypes.h:444
static TOrientedBox2< RealType > UnitPositive()
Definition OrientedBoxTypes.h:370
TVector2< RealType > Extents
Definition OrientedBoxTypes.h:321
TOrientedBox2(const TVector2< RealType > &OriginIn, RealType AngleRad, const TVector2< RealType > &ExtentsIn)
Definition OrientedBoxTypes.h:348
void SetAngleRadians(RealType AngleRad)
Definition OrientedBoxTypes.h:361
TVector2< RealType > ToLocalSpace(const TVector2< RealType > &Point) const
Definition OrientedBoxTypes.h:404
TVector2< RealType > AxisY() const
Definition OrientedBoxTypes.h:380
TVector2< RealType > GetCorner(int Index) const
Definition OrientedBoxTypes.h:432
static FIndex2i GetCornerSide(int Index)
Definition OrientedBoxTypes.h:475
TOrientedBox2(const TAxisAlignedBox2< RealType > &AxisBox)
Definition OrientedBoxTypes.h:356
TVector2< RealType > FromLocalSpace(const TVector2< RealType > &Point) const
Definition OrientedBoxTypes.h:411
TOrientedBox2()
Definition OrientedBoxTypes.h:323
static TOrientedBox2< RealType > UnitZeroCentered()
Definition OrientedBoxTypes.h:367
TVector2< RealType > UnitAxisX
Definition OrientedBoxTypes.h:319
TVector2< RealType > GetAxis(int AxisIndex) const
Definition OrientedBoxTypes.h:383
TVector2< RealType > Origin
Definition OrientedBoxTypes.h:317
RealType DistanceSquared(const TVector2< RealType > &Point) const
Definition OrientedBoxTypes.h:491
TVector2< RealType > ClosestPoint(const TVector2< RealType > &Point) const
Definition OrientedBoxTypes.h:505
bool TestCorners(PointPredicateType CornerPointPredicate) const
Definition OrientedBoxTypes.h:459
TOrientedBox2(const TVector2< RealType > &OriginIn, const TVector2< RealType > &ExtentsIn)
Definition OrientedBoxTypes.h:328
TOrientedBox2(const TVector2< RealType > &OriginIn, const TVector2< RealType > &XAxisIn, const TVector2< RealType > &ExtentsIn)
Definition OrientedBoxTypes.h:336
TVector2< RealType > AxisX() const
Definition OrientedBoxTypes.h:377
Definition OrientedBoxTypes.h:25
TVector< RealType > GetCorner(int Index) const
Definition OrientedBoxTypes.h:156
RealType Volume() const
Definition OrientedBoxTypes.h:113
TVector< RealType > Diagonal() const
Definition OrientedBoxTypes.h:107
bool IsValid() const
Definition OrientedBoxTypes.h:135
RealType SurfaceArea() const
Definition OrientedBoxTypes.h:119
bool TestCorners(PointPredicateType CornerPointPredicate) const
Definition OrientedBoxTypes.h:190
TVector< RealType > GetAxis(int AxisIndex) const
Definition OrientedBoxTypes.h:104
TVector< RealType > Extents
Definition OrientedBoxTypes.h:32
TOrientedBox3(const FOrientedBox &Box)
Definition OrientedBoxTypes.h:75
RealType DistanceSquared(TVector< RealType > Point) const
Definition OrientedBoxTypes.h:228
void EnumerateCorners(PointFuncType CornerPointFunc) const
Definition OrientedBoxTypes.h:170
TVector< RealType > Center() const
Definition OrientedBoxTypes.h:92
static FIndex3i GetCornerSide(int Index)
Definition OrientedBoxTypes.h:211
TOrientedBox3()
Definition OrientedBoxTypes.h:34
TOrientedBox3(const TFrame3< RealType > &FrameIn, const TVector< RealType > &ExtentsIn)
Definition OrientedBoxTypes.h:47
GEOMETRYCORE_API TOrientedBox3< RealType > ReparameterizedCloserToWorldFrame() const
Definition OrientedBoxTypes.cpp:334
bool Contains(const TVector< RealType > &Point) const
Definition OrientedBoxTypes.h:126
TOrientedBox3(const TVector< RealType > &Origin, const TVector< RealType > &ExtentsIn)
Definition OrientedBoxTypes.h:39
RealType SignedDistance(TVector< RealType > Point) const
Definition OrientedBoxTypes.h:244
static TOrientedBox3< RealType > UnitZeroCentered()
Definition OrientedBoxTypes.h:85
TVector< RealType > AxisY() const
Definition OrientedBoxTypes.h:98
TOrientedBox3(const TAxisAlignedBox3< RealType > &AxisBox)
Definition OrientedBoxTypes.h:55
TVector< RealType > ClosestPoint(const TVector< RealType > &Point) const
Definition OrientedBoxTypes.h:271
TFrame3< RealType > Frame
Definition OrientedBoxTypes.h:30
TVector< RealType > AxisZ() const
Definition OrientedBoxTypes.h:101
TVector< RealType > AxisX() const
Definition OrientedBoxTypes.h:95
static TOrientedBox3< RealType > UnitPositive()
Definition OrientedBoxTypes.h:88
bool Normalize(T Tolerance=UE_SMALL_NUMBER)
Definition Vector2D.h:1154
T Y
Definition Vector2D.h:52
T Dot(const TVector2< T > &V2) const
Definition Vector2D.h:1123
UE_FORCEINLINE_HINT TVector2< T > GetAbs() const
Definition Vector2D.h:1296
T X
Definition Vector2D.h:49
T Z
Definition Vector.h:68
T Y
Definition Vector.h:65
T GetMax() const
Definition Vector.h:1674
T X
Definition Vector.h:62