Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FDeformableEdgePath
Description
Minimize the deformable edge path with respect to the total path length. This minimization finds a local minimum in path length but may not find the shortest over all distance between to points. In this sense the operation can be thought of as a path-straightening.
| Name | Minimize |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/GeodesicPath.h |
| Include Path | #include "Operations/GeodesicPath.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Operations/GeodesicPath.cpp |
virtual void Minimize
(
FEdgePathDeformationInfo & DeformedPathInfo,
const int32 MaxNumIterations
)
Parameters
| Name | Remarks |
|---|---|
| DeformedPathInfo | on return this info struct is populated |
| MaxNumIterations | the maximum number of two-edge joints that may be replaced by shorter paths. |