#include <MRInTreePathBuilder.h>
Public Member Functions | |
MRMESH_API | InTreePathBuilder (const MeshTopology &topology, const UndirectedEdgeBitSet &treeEdges) |
MRMESH_API EdgePath | build (VertId start, VertId finish) const |
finds the path in tree from start vertex to finish vertex | |
given a spanning tree of edges in the mesh (or forest in case of several connected components), prepares to build quickly a path along tree edges between any two vertices
MRMESH_API MR::InTreePathBuilder::InTreePathBuilder | ( | const MeshTopology & | topology, |
const UndirectedEdgeBitSet & | treeEdges ) |
|
nodiscard |
finds the path in tree from start vertex to finish vertex