MeshLib Documentation
Loading...
Searching...
No Matches
MRSurfaceDistance.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include <cfloat>
5
6namespace MR
7{
8
10
15
18MRMESH_API VertScalars computeSurfaceDistances( const Mesh& mesh, const VertBitSet& startVertices, float maxDist = FLT_MAX,
19 const VertBitSet* region = nullptr, int maxVertUpdates = 3 );
20
23MRMESH_API VertScalars computeSurfaceDistances( const Mesh& mesh, const VertBitSet& startVertices, const VertBitSet& targetVertices,
24 float maxDist = FLT_MAX, const VertBitSet* region = nullptr, int maxVertUpdates = 3 );
25
28MRMESH_API VertScalars computeSurfaceDistances( const Mesh& mesh, const HashMap<VertId, float>& startVertices, float maxDist = FLT_MAX,
29 const VertBitSet* region = nullptr, int maxVertUpdates = 3 );
30
34MRMESH_API VertScalars computeSurfaceDistances( const Mesh& mesh, const MeshTriPoint & start, const MeshTriPoint & end,
35 const VertBitSet* region = nullptr, bool * endReached = nullptr, int maxVertUpdates = 3 );
36
39MRMESH_API VertScalars computeSurfaceDistances( const Mesh& mesh, const MeshTriPoint & start, float maxDist = FLT_MAX,
40 const VertBitSet* region = nullptr, int maxVertUpdates = 3 );
41
44MRMESH_API VertScalars computeSurfaceDistances( const Mesh& mesh, const std::vector<MeshTriPoint>& starts, float maxDist = FLT_MAX,
45 const VertBitSet* region = nullptr, int maxVertUpdates = 3 );
46
48
49} // namespace MR
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
auto end(const BitSet &)
Definition MRMesh/MRBitSet.h:282
MRMESH_API VertScalars computeSurfaceDistances(const Mesh &mesh, const VertBitSet &startVertices, float maxDist=FLT_MAX, const VertBitSet *region=nullptr, int maxVertUpdates=3)
Definition MRCameraOrientationPlugin.h:8
phmap::flat_hash_map< K, V, Hash, Eq > HashMap
Definition MRMesh/MRMeshFwd.h:460
Definition MRMesh/MRMeshTriPoint.h:23
Definition MRMesh/MRMesh.h:23