UE::Geometry::IsInsideHull

Test if the convex volume defined by a set of Halfspaces contains InnerBox.

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/Intersection/ContainmentQueries3.h

Include

#include "Intersection/ContainmentQueries3.h"

Syntax

namespace UE
{
    namespace Geometry
    {
        template<typename RealType>
        bool UE::Geometry::IsInsideHull
        (
            TArrayView< THalfspace3< RealType >> Halfspaces,
            const TOrientedBox3< RealType > & InnerBox
        )
    }
}

Remarks

Test if the convex volume defined by a set of Halfspaces contains InnerBox. Each Halfspace normal should point "outwards", ie it defines the outer halfspace that is not inside the Convex Volume.

Returns

false if InnerBox intersects any of the Halfspaces

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