Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TBox2
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Checks whether the given point is inside this box. | Math/Box2D.h | ||
| Checks whether the given box is fully encapsulated by this box. | Math/Box2D.h |
IsInside(const TVector2< T > &)
Description
Checks whether the given point is inside this box.
| Name | IsInside |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Box2D.h |
| Include Path | #include "Math/Box2D.h" |
bool IsInside
(
const TVector2 < T > & TestPoint
) const
true if the point is inside this box, otherwise false.
Parameters
| Name | Remarks |
|---|---|
| Point | The point to test. |
IsInside(const TBox2< T > &)
Description
Checks whether the given box is fully encapsulated by this box.
| Name | IsInside |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Box2D.h |
| Include Path | #include "Math/Box2D.h" |
bool IsInside
(
const TBox2 < T > & Other
) const
true if box is inside this volume, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Other | The box to test for encapsulation within the bounding volume. |