TSegment2::FastDistanceSquared

Calculate distance from QueryPoint to segment (StartPt,EndPt)

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

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

Include

#include "SegmentTypes.h"

Syntax

static T FastDistanceSquared
(
    const FVector2< T > & StartPt,
    const FVector2< T > & EndPt,
    const FVector2< T > & QueryPt,
    T Tolerance
)

Remarks

Calculate distance from QueryPoint to segment (StartPt,EndPt)

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