FVector::PointPlaneDist

Calculate the signed distance (in the direction of the normal) between a point and a plane.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

static float PointPlaneDist
(
    const FVector & Point,
    const FVector & PlaneBase,
    const FVector & PlaneNormal
)

Remarks

Calculate the signed distance (in the direction of the normal) between a point and a plane.

Returns

Signed distance between point and plane.

Parameters

Parameter

Description

Point

The Point we are checking.

PlaneBase

The Base Point in the plane.

PlaneNormal

The Normal of the plane (assumed to be unit length).

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