MeshLib
 
Loading...
Searching...
No Matches
MRCloseVertices.h File Reference
#include "MRMeshFwd.h"
#include "MRProgressCallback.h"
#include <optional>

Go to the source code of this file.

Namespaces

namespace  MR
 

Functions

MRMESH_API std::optional< VertMapMR::findSmallestCloseVertices (const Mesh &mesh, float closeDist, const ProgressCallback &cb={})
 
MRMESH_API std::optional< VertMapMR::findSmallestCloseVertices (const PointCloud &cloud, float closeDist, const ProgressCallback &cb={})
 
MRMESH_API std::optional< VertMapMR::findSmallestCloseVertices (const VertCoords &points, float closeDist, const VertBitSet *valid=nullptr, const ProgressCallback &cb={})
 
MRMESH_API std::optional< VertMapMR::findSmallestCloseVerticesUsingTree (const VertCoords &points, float closeDist, const AABBTreePoints &tree, const VertBitSet *valid, const ProgressCallback &cb={})
 
MRMESH_API std::optional< VertBitSetMR::findCloseVertices (const Mesh &mesh, float closeDist, const ProgressCallback &cb={})
 finds all close vertices, where for each vertex there is another one located within given distance
 
MRMESH_API std::optional< VertBitSetMR::findCloseVertices (const PointCloud &cloud, float closeDist, const ProgressCallback &cb={})
 finds all close vertices, where for each vertex there is another one located within given distance
 
MRMESH_API std::optional< VertBitSetMR::findCloseVertices (const VertCoords &points, float closeDist, const VertBitSet *valid=nullptr, const ProgressCallback &cb={})
 finds all close vertices, where for each vertex there is another one located within given distance
 
MRMESH_API VertBitSet MR::findCloseVertices (const VertMap &smallestMap)
 finds all close vertices, where for each vertex there is another one located within given distance; smallestMap is the result of findSmallestCloseVertices function call
 
MRMESH_API std::vector< EdgePairMR::findTwinEdgePairs (const Mesh &mesh, float closeDist)
 finds pairs of twin edges (each twin edge will be present at least in one of pairs)
 
MRMESH_API EdgeBitSet MR::findTwinEdges (const Mesh &mesh, float closeDist)
 finds all directed twin edges
 
MRMESH_API EdgeBitSet MR::findTwinEdges (const std::vector< EdgePair > &pairs)
 
MRMESH_API UndirectedEdgeBitSet MR::findTwinUndirectedEdges (const Mesh &mesh, float closeDist)
 finds all undirected twin edges
 
MRMESH_API UndirectedEdgeBitSet MR::findTwinUndirectedEdges (const std::vector< EdgePair > &pairs)
 
MRMESH_API UndirectedEdgeHashMap MR::findTwinUndirectedEdgeHashMap (const Mesh &mesh, float closeDist)
 provided that each edge has at most one twin, composes bidirectional mapping between twins
 
MRMESH_API UndirectedEdgeHashMap MR::findTwinUndirectedEdgeHashMap (const std::vector< EdgePair > &pairs)