TPlane3::DistanceTo

Compute d = [Dot(N,P)](API\Runtime\Engine\EMaterialPreshaderOpcode)-c where N is the plane normal and c is the plane constant.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

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

Include

#include "PlaneTypes.h"

Syntax

double DistanceTo
(
    const FVector3< RealType > & P
) const

Remarks

Compute d = Dot(N,P)-c where N is the plane normal and c is the plane constant. This is a signed distance. The sign of the return value is positive if the point is on the positive side of the plane, negative if the point is on the negative side, and zero if the point is on the 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