TConvexHull3::GetAsHalfspaces

Convert an already-computed convex hull into a halfspace representation Following the logic of ContainmentQueries3.h, all halfspaces are oriented "outwards," so a point is inside the convex hull if it is outside of all halfspaces in the array

Windows
MacOS
Linux

References

Module

GeometryAlgorithms

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometryAlgorithms/Public/ConvexHull3.h

Include

#include "ConvexHull3.h"

Syntax

TArray< THalfspace3< RealType > > GetAsHalfspaces
(
    TFunctionRef< FVector3< RealType >(int32)> GetPointFunc
) const

Remarks

Convert an already-computed convex hull into a halfspace representation Following the logic of ContainmentQueries3.h, all halfspaces are oriented "outwards," so a point is inside the convex hull if it is outside of all halfspaces in the array

Returns

Array of halfspaces

Parameters

Parameter

Description

GetPointFunc

Function providing array-style access into points

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