Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FMeshSimpleShapeApproximation
Warnings * the capsule is fit by first fitting a line to the vertices, and then containing the points, so the fit can deviate quite a bit from a truly "minimal" capsule
Description
Fit containing approximate-minimum-volume capsules to each input mesh and store in ShapeSetOut
the capsule is fit by first fitting a line to the vertices, and then containing the points, so the fit can deviate quite a bit from a truly "minimal" capsule
| Name | Generate_Capsules |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/ShapeApproximation/MeshSimpleShapeApproximation.h |
| Include Path | #include "ShapeApproximation/MeshSimpleShapeApproximation.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/ShapeApproximation/MeshSimpleShapeApproximation.cpp |
void Generate_Capsules
(
FSimpleShapeSet3d & ShapeSetOut
)