UE::Geometry::IsInsideHull

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

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 TCapsule3< RealType > & InnerCapsule
        )
    }
}

Remarks

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

Returns

false if InnerCapsule 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