Navigation
API > API/Runtime > API/Runtime/GeometryCore
| Name | TAxisAlignedBox2 |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/BoxTypes.h |
| Include Path | #include "BoxTypes.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Public/Intersection/IntersectionQueries2.h |
Syntax
template<typename RealType>
struct TAxisAlignedBox2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAxisAlignedBox2
(
RealType Width, |
BoxTypes.h | ||
| BoxTypes.h | |||
TAxisAlignedBox2
(
const TAxisAlignedBox2< OtherRealType >& OtherBox |
BoxTypes.h | ||
TAxisAlignedBox2
(
RealType SquareSize |
BoxTypes.h | ||
TAxisAlignedBox2
(
const TArray< TVector2< RealType > >& Pts |
BoxTypes.h | ||
TAxisAlignedBox2
(
TArrayView< const TVector2< RealType > > Pts |
BoxTypes.h | ||
TAxisAlignedBox2
(
const TBox2< InRealType >& Box |
BoxTypes.h | ||
TAxisAlignedBox2
(
const TVector2< RealType >& Min, |
BoxTypes.h | ||
TAxisAlignedBox2
(
const TVector2< RealType >& Center, |
BoxTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Max | TVector2< RealType > | BoxTypes.h | ||
| Min | TVector2< RealType > | BoxTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
RealType Area() |
BoxTypes.h | ||
TVector2< RealType > Center() |
BoxTypes.h | ||
| BoxTypes.h | |||
void Contain
(
const TAxisAlignedBox2< RealType >& Other |
BoxTypes.h | ||
| BoxTypes.h | |||
| BoxTypes.h | |||
void Contain
(
TArrayView< const TVector2< RealType > > Pts |
BoxTypes.h | ||
bool Contains
(
const TAxisAlignedBox2< RealType >& Box |
BoxTypes.h | ||
| BoxTypes.h | |||
RealType DiagonalLength() |
BoxTypes.h | ||
RealType DistanceSquared
(
const TVector2< RealType >& V |
BoxTypes.h | ||
void Expand
(
RealType Radius |
BoxTypes.h | ||
TVector2< RealType > Extents() |
BoxTypes.h | ||
TVector2< RealType > 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) | BoxTypes.h | |
RealType Height() |
BoxTypes.h | ||
TAxisAlignedBox2< RealType > Intersect
(
const TAxisAlignedBox2< RealType >& Box |
BoxTypes.h | ||
bool Intersects
(
const TAxisAlignedBox2< RealType >& Box |
BoxTypes.h | ||
bool IsEmpty() |
BoxTypes.h | ||
RealType MaxDim() |
BoxTypes.h | ||
RealType MinDim() |
BoxTypes.h | ||
RealType Perimeter() |
BoxTypes.h | ||
RealType Width() |
BoxTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TAxisAlignedBox2< RealType > Empty() |
BoxTypes.h |