Navigation
API > API/Runtime > API/Runtime/GeometryCore
Compute unsigned distance between 2D line and 2D axis aligned box
| Name | TDistLine2AxisAlignedBox2 |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Distance/DistLine2AxisAlignedBox2.h |
| Include Path | #include "Distance/DistLine2AxisAlignedBox2.h" |
Syntax
template<typename Real>
class TDistLine2AxisAlignedBox2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Distance/DistLine2AxisAlignedBox2.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AxisAlignedBox | TBox2< Real > | Distance/DistLine2AxisAlignedBox2.h | ||
| BoxClosest | TVector2< Real > | Distance/DistLine2AxisAlignedBox2.h | ||
| Line | TLine2< Real > | Input. | Distance/DistLine2AxisAlignedBox2.h | |
| LineClosest | TVector2< Real > | Distance/DistLine2AxisAlignedBox2.h | ||
| LineParameter | Real | Distance/DistLine2AxisAlignedBox2.h | ||
| ResultDistanceSquared | Real | Results. | Distance/DistLine2AxisAlignedBox2.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
Real ComputeResult() |
Distance/DistLine2AxisAlignedBox2.h | ||
Real Get() |
Distance/DistLine2AxisAlignedBox2.h | ||
Real GetSquared() |
Distance/DistLine2AxisAlignedBox2.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Compute the distance and closest point between a line and an aligned box whose center is the origin. | Distance/DistLine2AxisAlignedBox2.h | ||
| Distance/DistLine2AxisAlignedBox2.h | |||
| Distance/DistLine2AxisAlignedBox2.h | |||
| Distance/DistLine2AxisAlignedBox2.h |