TOrientedBox3::DistanceSquared

Find squared distance to box.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

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

Include

#include "OrientedBoxTypes.h"

Syntax

RealType DistanceSquared
(
    FVector3< RealType > Point
)

Remarks

Find squared distance to box.

Returns

squared distance from point to box, or 0 if point is inside box

Parameters

Parameter

Description

Point

input point

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