MeshLib C++ Docs
Loading...
Searching...
No Matches
MRInTreePathBuilder.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRVector.h"
4
5namespace MR
6{
9
10
14{
15public:
16 MRMESH_API InTreePathBuilder( const MeshTopology & topology, const UndirectedEdgeBitSet & treeEdges );
17
19 [[nodiscard]] MRMESH_API EdgePath build( VertId start, VertId finish ) const;
20
21private:
24 [[nodiscard]] EdgeId getEdgeBack_( VertId v ) const;
25
26 const MeshTopology & topology_;
27 const UndirectedEdgeBitSet & treeEdges_;
29 Vector<int, VertId> vertDistance_;
30};
31
32}
Definition MRInTreePathBuilder.h:14
Definition MRMeshTopology.h:22
std::vector<T>-like container that requires specific indexing type,
Definition MRVector.h:23
MRMESH_API EdgePath build(VertId start, VertId finish) const
finds the path in tree from start vertex to finish vertex
MRMESH_API InTreePathBuilder(const MeshTopology &topology, const UndirectedEdgeBitSet &treeEdges)
only for bindings generation
Definition MRCameraOrientationPlugin.h:8