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