Navigation
API > API/Runtime > API/Runtime/GeometryCore
| Name | FAxisAlignedBox2i |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/IntBoxTypes.h |
| Include Path | #include "IntBoxTypes.h" |
Syntax
struct FAxisAlignedBox2i
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| IntBoxTypes.h | |||
FAxisAlignedBox2i
(
int32 SquareSize |
IntBoxTypes.h | ||
FAxisAlignedBox2i
(
const FVector2i& Min, |
IntBoxTypes.h | ||
FAxisAlignedBox2i
(
int32 Width, |
IntBoxTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Max | FVector2i | IntBoxTypes.h | ||
| Min | FVector2i | IntBoxTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 Area() |
IntBoxTypes.h | ||
void Contain
(
const FVector2i& V |
IntBoxTypes.h | ||
bool Contains
(
const FVector2i& V |
IntBoxTypes.h | ||
FVector2i Diagonal() |
IntBoxTypes.h | ||
void Expand
(
int32 Radius |
IntBoxTypes.h | ||
FVector2i GetCorner
(
int Index |
Corners are ordered to follow the perimeter of the bounding rectangle, starting from the (Min.X, Min.Y) corner and ending at (Min.X, Max.Y) | IntBoxTypes.h | |
bool IsEmpty() |
IntBoxTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FAxisAlignedBox2i Empty() |
IntBoxTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FAxisAlignedBox2i& Other |
IntBoxTypes.h | ||
bool operator==
(
const FAxisAlignedBox2i& Other |
IntBoxTypes.h |