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
Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/ShapeApproximation/MeshSimpleShapeApproximation.h |
Include |
#include "ShapeApproximation/MeshSimpleShapeApproximation.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/ShapeApproximation/MeshSimpleShapeApproximation.cpp |
void Generate_Capsules
(
FSimpleShapeSet3d & ShapeSetOut
)
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