Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometryAlgorithms/Public/ConvexHull2.h |
Include |
#include "ConvexHull2.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometryAlgorithms/Private/ConvexHull2.cpp |
bool Solve
(
int32 NumPoints,
TFunctionRef< FVector2< RealType >(int32)> GetPointFunc,
TFunctionRef< bool)> FilterFunc
)
Generate convex hull as long as input is not degenerate If input is degenerate, this will return false, and caller can call GetDimension() to determine whether the points were collinear, or all the same point
true if hull was generated, false if points span < 2 dimensions
Parameter |
Description |
---|---|
NumPoints |
Number of points to consider |
GetPointFunc |
Function providing array-style access into points |
FilterFunc |
Optional filter to include only a subset of the points in the output hull |