Navigation
API > API/Runtime > API/Runtime/GeometryCore
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/LineTypes.h |
| Include | #include "LineTypes.h" |
Syntax
template<typename T>
struct TLine3
Remarks
TLine3 is a three-dimensional infinite line. The line is stored in (Center,Direction) form.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TVector< T > | Direction | Direction of Line, Normalized | |
| TVector< T > | Origin | Origin / Center Point of Line |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TLine3 () |
Construct default line along X axis | ||
| Construct line with given Origin and Direction |
Functions
| Type | Name | Description | |
|---|---|---|---|
| T | DistanceSquared
(
const TVector< T >& QueryPoint |
||
| TLine3< T > | FromPoints
(
const TVector< T >& Point0, |
||
| TVector< T > | NearestPoint
(
const TVector< T >& QueryPoint |
||
| TVector< T > | PointAt
(
T LineParameter |
||
| T |