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