Chaos::Utilities::ClipLineSegmentToPlane

Clip a line segment to inside a plane (plane normal pointing outwards).

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Utilities.h

Include

#include "Chaos/Utilities.h"

Syntax

namespace Chaos
{
    namespace Utilities
    {
        bool Chaos::Utilities::ClipLineSegmentToPlane
        (
            FVec3 & V0,
            FVec3 & V1,
            const FVec3 & PlaneNormal,
            const FVec3 & PlanePos
        )
    }
}

Remarks

Clip a line segment to inside a plane (plane normal pointing outwards).

Returns

false if the line is completely outside the plane, true otherwise.

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