TSegment2::Intersects

Test if this segment intersects with OtherSegment.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

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

Include

#include "SegmentTypes.h"

Syntax

bool Intersects
(
    const TSegment2< T > & OtherSegment,
    T DotThresh,
    T IntervalThresh
) const

Remarks

Test if this segment intersects with OtherSegment. Returns true for parallel-line overlaps. Returns same result as IntrSegment2Segment2

Returns

true if segments intersect

Parameters

Parameter

Description

OtherSegment

segment to test against

DotThresh

dot-product tolerance used to determine if segments are parallel

IntervalThresh

distance tolerance used to allow slighly-not-touching segments to be considered overlapping

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