FMath::IntersectPlanes2

Compute intersection point and direction of line joining two planes.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h

Include

#include "Math/UnrealMathUtility.h"

Source

/Engine/Source/Runtime/Core/Public/Math/Plane.h

Syntax

static bool IntersectPlanes2
(
    FVector & I,
    FVector & D,
    const FPlane & P1,
    const FPlane & P2
)

Remarks

Compute intersection point and direction of line joining two planes. Return 1 if valid, 0 if infinite.

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