TLine3

[TLine3](API\Plugins\GeometricObjects\TLine3) is a three-dimensional infinite line.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/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

Name Description

Public variable

FVector3< T >

 

Direction

Direction of Line, Normalized

Public variable

FVector3< T >

 

Origin

Origin / Center Point of Line

Constructors

Name Description

Public function

TLine3()

Construct default line along X axis

Public function

TLine3

(
    const FVector3< T >& OriginIn,
    const FVector3< T >& DirectionIn
)

Construct line with given Origin and Direction

Functions

Name Description

Public function Const

T

 

DistanceSquared

(
    const FVector3< T >& QueryPoint
)

Public function Static

TLine3< T >

 

FromPoints

(
    const FVector3< T >& Point0,
    const FVector3< T >& Point1
)

Public function Const

FVector3< T ...

 

NearestPoint

(
    const FVector3< T >& QueryPoint
)

Public function Const

FVector3< T ...

 

PointAt

(
    T LineParameter
)

Public function Const

T

 

Project

(
    const FVector3< T >& QueryPoint
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss