TPlane3::ClipSegment

Clip line segment defined by two points against plane.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

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

Include

#include "PlaneTypes.h"

Syntax

int ClipSegment
(
    FVector3< RealType > & Point0,
    FVector3< RealType > & Point1
)

Remarks

Clip line segment defined by two points against plane. Region of Segment on positive side of Plane is kept.

that the line may be fully clipped, in that case 0 is returned

Returns

0 if line is fully clipped, 1 if line is partially clipped, 2 if line is not clipped

Parameters

Parameter

Description

Point0

first point of segment

Point1

second point of segment

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