MeshLib
 
Loading...
Searching...
No Matches
MR::InTreePathBuilder Class Reference

#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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ InTreePathBuilder()

MRMESH_API MR::InTreePathBuilder::InTreePathBuilder ( const MeshTopology & topology,
const UndirectedEdgeBitSet & treeEdges )

Member Function Documentation

◆ build()

MRMESH_API EdgePath MR::InTreePathBuilder::build ( VertId start,
VertId finish ) const
nodiscard

finds the path in tree from start vertex to finish vertex


The documentation for this class was generated from the following file: