Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TConvexHull3
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetSimplifiedFaces
(
TFunctionRef< void(TArray< int32 >&, TVector< RealType >)> PolygonFunc, |
Get faces of the convex hull as convex polygons, simplifying the hull by merging near-coplanar faces and only keeping vertices that are on the corner of at least three merged faces | CompGeom/ConvexHull3.h | |
void GetSimplifiedFaces
(
TArray< FPolygonFace >& OutPolygons, |
Get faces of the convex hull as convex polygons, simplifying the hull by merging near-coplanar faces and only keeping vertices that are on the corner of at least three merged faces | CompGeom/ConvexHull3.h |
GetSimplifiedFaces(TFunctionRef< void(TArray< int32 > &, TVector< RealType >)>, TFunctionRef< TVector< RealType >(int32)>, RealType, RealType)
Description
Get faces of the convex hull as convex polygons, simplifying the hull by merging near-coplanar faces and only keeping vertices that are on the corner of at least three merged faces
| Name | GetSimplifiedFaces |
| 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 |
void GetSimplifiedFaces
(
TFunctionRef < void< int32 > &, TVector < RealType >)> PolygonFunc,
TFunctionRef < TVector < RealType >> GetPointFunc,
RealType FaceAngleToleranceInDegrees,
RealType PlaneDistanceTolerance
) const
Parameters
| Name | Remarks |
|---|---|
| PolygonFunc | Callback to be called for each polygon, with the array of vertex indices and the face normal |
| GetPointFunc | Function providing array-style access into points |
| FaceAngleToleranceInDegrees | The hull will be simplified by merging faces with less than this dihedral angle between them |
| PlaneDistanceTolerance | Faces will not merge unless all points on the face are within this distance of the combined (average) face plane |
GetSimplifiedFaces(TArray< FPolygonFace > &, TFunctionRef< TVector< RealType >(int32)>, RealType, RealType, TArray< TVector< RealType > > *)
Description
Get faces of the convex hull as convex polygons, simplifying the hull by merging near-coplanar faces and only keeping vertices that are on the corner of at least three merged faces
| Name | GetSimplifiedFaces |
| 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 |
void GetSimplifiedFaces
(
TArray < FPolygonFace > & OutPolygons,
TFunctionRef < TVector < RealType >> GetPointFunc,
RealType FaceAngleToleranceInDegrees,
RealType PlaneDistanceTolerance,
TArray < TVector < RealType > > * OutPolygonNormals
) const
Parameters
| Name | Remarks |
|---|---|
| OutPolygons | Polygons of the convex hull faces, as arrays of indices into the original points |
| GetPointFunc | Function providing array-style access into points |
| FaceAngleToleranceInDegrees | The hull will be simplified by merging faces with less than this dihedral angle between them |
| PlaneDistanceTolerance | Faces will not merge unless all points on the face are within this distance of the combined (average) face plane |
| OutPolygonNormals | Optional array of normals for each polygon |