TPlane3::FindLineIntersection

Compute intersection of Line with Plane

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/PlaneTypes.h

Include

#include "PlaneTypes.h"

Syntax

bool FindLineIntersection
(
    const FVector3< RealType > & LineOrigin,
    const FVector3< RealType > & LineDirection,
    FVector3< RealType > & IntersectionPointOut
) const

Remarks

Compute intersection of Line with Plane

Returns

true if Line intersects Plane and IntersectionPointOut is valid

Parameters

Parameter

Description

LineOrigin

origin of line

LineDirection

direction of line

HitPointOut

intersection point, or FVector3::MaxVector() if line is parallel to plane

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