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{
7
10class InTreePathBuilder
11{
12public:
13 MRMESH_API InTreePathBuilder( const MeshTopology & topology, const UndirectedEdgeBitSet & treeEdges );
14
16 [[nodiscard]] MRMESH_API EdgePath build( VertId start, VertId finish ) const;
17
18private:
21 [[nodiscard]] EdgeId getEdgeBack_( VertId v ) const;
22
23 const MeshTopology & topology_;
24 const UndirectedEdgeBitSet & treeEdges_;
26 Vector<int, VertId> vertDistance_;
27};
28
29} //namespace MR
#define MRMESH_API
Definition MRMeshFwd.h:80
unsafe InTreePathBuilder(MR._ByValue_InTreePathBuilder _other)
Definition MRCameraOrientationPlugin.h:8