22template <
typename InIntType>
27 static_assert(std::is_integral_v<IntType>,
"Only an integer types are supported.");
93 template <
typename OtherIntType>
296 Min.
X = FMath::Max<IntType>(
Min.
X,
R.Min.X);
297 Min.
Y = FMath::Max<IntType>(
Min.
Y,
R.Min.Y);
298 Max.
X = FMath::Min<IntType>(
Max.
X,
R.Max.X);
299 Max.
Y = FMath::Min<IntType>(
Max.
Y,
R.Max.Y);
309 Min.
X = FMath::Min<IntType>(
Min.
X,
R.Min.X);
310 Min.
Y = FMath::Min<IntType>(
Min.
Y,
R.Min.Y);
311 Max.
X = FMath::Max<IntType>(
Max.
X,
R.Max.X);
312 Max.
Y = FMath::Max<IntType>(
Max.
Y,
R.Max.Y);
526template <
typename IntType>
@ ForceInit
Definition CoreMiscDefines.h:155
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
constexpr uint32 HashCombine(uint32 A, uint32 C)
Definition TypeHash.h:36
Definition Archive.h:1208
uint32 GetTypeHash(const TBox< T > &Box)
Definition Box.h:1008
Definition LinuxPlatformSplash.cpp:43
Definition IsPODType.h:12
Definition IsUECoreType.h:19
IntType Y
Definition IntPoint.h:37
static TIntPoint DivideAndRoundUp(TIntPoint lhs, IntType Divisor)
Definition IntPoint.h:429
FString ToString() const
Definition IntPoint.h:399
IntType X
Definition IntPoint.h:34
TIntPoint< IntType > IntPointType
Definition IntRect.h:26
const TIntRect & operator()(int32 PointIndex) const
Definition IntRect.h:106
TIntRect operator-(const IntPointType &Point) const
Definition IntRect.h:240
TIntRect Right(IntType InWidth) const
Definition IntRect.h:419
void GetCenterAndExtents(IntPointType &OutCenter, IntPointType &OutExtent) const
Definition IntRect.h:358
static constexpr int32 Num()
Definition IntRect.h:506
TIntRect & operator()(int32 PointIndex)
Definition IntRect.h:119
void Include(IntPointType Point)
Definition IntRect.h:395
IntType Width() const
Definition IntRect.h:469
static TIntRect DivideAndRoundUp(TIntRect lhs, IntType Div)
Definition IntRect.h:491
TIntRect(IntPointType InMin, IntPointType InMax)
Definition IntRect.h:72
TIntRect Inner(IntPointType Shrink) const
Definition IntRect.h:409
void InflateRect(IntType Amount)
Definition IntRect.h:383
bool Contains(const FIntRect &Other) const
Definition IntRect.h:346
TIntRect & operator*=(IntType Scale)
Definition IntRect.h:154
TIntRect operator+(const TIntRect &Other) const
Definition IntRect.h:251
static TIntRect DivideAndRoundUp(TIntRect lhs, IntPointType Div)
Definition IntRect.h:496
bool IsEmpty() const
Definition IntRect.h:479
friend FArchive & operator<<(FArchive &Ar, TIntRect &Rect)
Definition IntRect.h:520
IntType Height() const
Definition IntRect.h:372
TIntRect & operator=(const TIntRect &Other)
Definition IntRect.h:83
TIntRect & operator-=(const IntPointType &Point)
Definition IntRect.h:182
void Union(const TIntRect &R)
Definition IntRect.h:307
bool Intersect(const TIntRect &Other) const
Definition IntRect.h:324
InIntType IntType
Definition IntRect.h:25
TIntRect operator/(const IntPointType &Point) const
Definition IntRect.h:229
bool Contains(IntPointType P) const
Definition IntRect.h:338
IntPointType Max
Definition IntRect.h:37
IntPointType Min
Definition IntRect.h:34
TIntRect operator+(const IntPointType &Point) const
Definition IntRect.h:218
TIntRect(TIntRect< OtherIntType > Other)
Definition IntRect.h:94
TIntRect(const TIntRect &Other)
Definition IntRect.h:78
TIntRect operator-(const TIntRect &Other) const
Definition IntRect.h:262
TIntRect & operator+=(const IntPointType &Point)
Definition IntRect.h:168
TIntRect operator*(IntType Scale) const
Definition IntRect.h:196
TIntRect Bottom(IntType InHeight) const
Definition IntRect.h:284
TIntRect Scale(double Fraction) const
Definition IntRect.h:430
void Clip(const TIntRect &R)
Definition IntRect.h:294
bool operator==(const TIntRect &Other) const
Definition IntRect.h:132
IntType Area() const
Definition IntRect.h:272
IntPointType Size() const
Definition IntRect.h:449
TIntRect operator/(IntType Div) const
Definition IntRect.h:207
TIntRect()
Definition IntRect.h:45
FString ToString() const
Definition IntRect.h:459
bool operator!=(const TIntRect &Other) const
Definition IntRect.h:143
TIntRect(IntType X0, IntType Y0, IntType X1, IntType Y1)
Definition IntRect.h:60
IntPointType MinMax[2]
Definition IntRect.h:41