Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Distance
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Distance/DistLine2AxisAlignedBox2.h |
| Include | #include "Distance/DistLine2AxisAlignedBox2.h" |
Syntax
template<typename Real>
class TDistLine2AxisAlignedBox2
Remarks
Compute unsigned distance between 2D line and 2D axis aligned box
Variables
| Type | Name | Description | |
|---|---|---|---|
| TBox2< Real > | AxisAlignedBox | ||
| TVector2< Real > | BoxClosest | ||
| TLine2< Real > | Line | Input. | |
| TVector2< Real > | LineClosest | ||
| Real | LineParameter | ||
| Real | ResultDistanceSquared | Results. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TDistLine2AxisAlignedBox2
(
const TLine2< Real > LineIn, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| Real | |||
| Real | Get () |
||
| Real | GetSquared () |