Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TConvexHull3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Solve
(
TArrayView< const VectorType > Points |
Default FilterFunc version of the above Solve(); workaround for clang bug https://bugs.llvm.org/show_bug.cgi?id=25333 | CompGeom/ConvexHull3.h | |
bool Solve
(
int32 NumPoints, |
CompGeom/ConvexHull3.h | ||
bool Solve
(
TArrayView< const VectorType > Points, |
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 | CompGeom/ConvexHull3.h | |
bool Solve
(
int32 NumPoints, |
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 coplanar, collinear, or all the same point | CompGeom/ConvexHull3.h |
Solve(TArrayView< const VectorType >)
Description
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
| Name | Solve |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexHull3.h |
| Include Path | #include "CompGeom/ConvexHull3.h" |
template<typename VectorType>
bool Solve
(
TArrayView < const VectorType > Points
)
true if hull was generated, false if points span < 2 dimensions
Parameters
| Name | Remarks |
|---|---|
| Points | Array of points to consider |
Solve(int32, TFunctionRef< TVector< RealType >(int32)>)
| Name | Solve |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexHull3.h |
| Include Path | #include "CompGeom/ConvexHull3.h" |
bool Solve
(
int32 NumPoints,
TFunctionRef < TVector < RealType >> GetPointFunc
)
Solve(TArrayView< const VectorType >, TFunctionRef< bool(int32)>)
Description
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
| Name | Solve |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexHull3.h |
| Include Path | #include "CompGeom/ConvexHull3.h" |
template<typename VectorType>
bool Solve
(
TArrayView < const VectorType > Points,
TFunctionRef < bool> FilterFunc
)
true if hull was generated, false if points span < 2 dimensions
Parameters
| Name | Remarks |
|---|---|
| Points | Array of points to consider |
| FilterFunc | Optional filter to include only a subset of the points in the output hull |
Solve(int32, TFunctionRef< TVector< RealType >(int32)>, TFunctionRef< bool(int32)>)
Description
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 coplanar, collinear, or all the same point
| Name | Solve |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/CompGeom/ConvexHull3.h |
| Include Path | #include "CompGeom/ConvexHull3.h" |
| Source | /Engine/Source/Runtime/GeometryCore/Private/CompGeom/ConvexHull3.cpp |
bool Solve
(
int32 NumPoints,
TFunctionRef < TVector < RealType >> GetPointFunc,
TFunctionRef < bool> FilterFunc
)
true if hull was generated, false if points span < 2 dimensions
Parameters
| Name | Remarks |
|---|---|
| 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 |