UE::Geometry::IsInsideHull

Convex Hull/Volume containment queries Test if the convex volume defined by a set of Halfspaces contains InnerSphere.

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 TSphere3< RealType > & InnerSphere
        )
    }
}

Remarks

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

Returns

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