Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Distance
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Distance/DistLine3Triangle3.h |
| Include | #include "Distance/DistLine3Triangle3.h" |
Syntax
template<typename Real>
class TDistLine3Triangle3
Remarks
Compute unsigned distance between 3D line and 3D triangle
Variables
| Type | Name | Description | |
|---|---|---|---|
| Real | DistanceSquared | Output. | |
| TLine3< Real > | Line | Input. | |
| TVector< Real > | LineClosest | ||
| Real | LineParam | ||
| TTriangle3< Real > | Triangle | ||
| TVector< Real > | TriangleBaryCoords | ||
| TVector< Real > | TriangleClosest |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TDistLine3Triangle3
(
const TLine3< Real >& LineIn, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| Real | |||
| Real | Get () |
||
| Real | GetSquared () |