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
(
    TArrayView< const FVector3< RealType >> Points
) 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

Points

Array of points to consider

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