Navigation
API > API/Runtime > API/Runtime/GeometryCore
Compute unsigned distance between 2D segment and 2D axis aligned box
| Name | TDistSegment2AxisAlignedBox2 |
| Type | class |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Distance/DistSegment2AxisAlignedBox2.h |
| Include Path | #include "Distance/DistSegment2AxisAlignedBox2.h" |
Syntax
template<typename Real>
class TDistSegment2AxisAlignedBox2
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Distance/DistSegment2AxisAlignedBox2.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AxisAlignedBox | TBox2< Real > | Distance/DistSegment2AxisAlignedBox2.h | ||
| BoxClosest | TVector2< Real > | Distance/DistSegment2AxisAlignedBox2.h | ||
| DistanceSquared | Real | Output. | Distance/DistSegment2AxisAlignedBox2.h | |
| Segment | TSegment2< Real > | Input. | Distance/DistSegment2AxisAlignedBox2.h | |
| SegmentClosest | TVector2< Real > | Distance/DistSegment2AxisAlignedBox2.h | ||
| SegmentParameter | Real | Distance/DistSegment2AxisAlignedBox2.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
Real ComputeResult() |
Distance/DistSegment2AxisAlignedBox2.h | ||
Real Get() |
Distance/DistSegment2AxisAlignedBox2.h | ||
Real GetSquared() |
Distance/DistSegment2AxisAlignedBox2.h |