MeshLib Documentation
Loading...
Searching...
No Matches
MROrder.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRId.h"
4#include "MRBuffer.h"
5#include <tuple>
6
7namespace MR
8{
9
12[[nodiscard]] MRMESH_API FaceBMap getOptimalFaceOrdering( const Mesh & mesh );
13
17[[nodiscard]] MRMESH_API VertBMap getVertexOrdering( const FaceBMap & faceMap, const MeshTopology & topology );
18
22[[nodiscard]] MRMESH_API UndirectedEdgeBMap getEdgeOrdering( const FaceBMap & faceMap, const MeshTopology & topology );
23
24} //namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
Definition MRMesh/MRMeshTopology.h:18
MRMESH_API std::vector< VertId > getVertexOrdering(const MeshTopology &topology, VertBitSet region)
returns all vertices from given region ordered in each connected component in breadth-first way
Definition MRCameraOrientationPlugin.h:8
MRMESH_API FaceBMap getOptimalFaceOrdering(const Mesh &mesh)
MRMESH_API UndirectedEdgeBMap getEdgeOrdering(const FaceBMap &faceMap, const MeshTopology &topology)
Definition MRMesh/MRMesh.h:23