MeshLib C++ Docs
Loading...
Searching...
No Matches
MREdgeMetric.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRPch/MRBindingMacros.h"
5#include <functional>
6
7namespace MR
8{
11
12
15
17[[nodiscard]] MRMESH_API EdgeMetric identityMetric();
18
21[[nodiscard]] MRMESH_API EdgeMetric edgeLengthMetric( const Mesh & mesh );
22[[nodiscard]] MRMESH_API EdgeMetric edgeLengthMetric( const MeshTopology& topology, const VertCoords& points );
23
27[[nodiscard]] MRMESH_API EdgeMetric discreteAbsMeanCurvatureMetric( const Mesh & mesh );
28[[nodiscard]] MRMESH_API EdgeMetric discreteAbsMeanCurvatureMetric( const MeshTopology& topology, const VertCoords& points );
29
33[[nodiscard]] MRMESH_API EdgeMetric discreteMinusAbsMeanCurvatureMetric( const Mesh & mesh );
34[[nodiscard]] MRMESH_API EdgeMetric discreteMinusAbsMeanCurvatureMetric( const MeshTopology& topology, const VertCoords& points );
35
40[[nodiscard]] MRMESH_API EdgeMetric edgeCurvMetric( const Mesh & mesh, float angleSinFactor = 2, float angleSinForBoundary = 0 );
41[[nodiscard]] MRMESH_API EdgeMetric edgeCurvMetric( const MeshTopology& topology, const VertCoords& points, float angleSinFactor = 2, float angleSinForBoundary = 0 );
42
47[[nodiscard]] MRMESH_API EdgeMetric edgeAbsCurvMetric( const Mesh & mesh, float angleSinFactor = 2, float angleSinForBoundary = 0 );
48[[nodiscard]] MRMESH_API EdgeMetric edgeAbsCurvMetric( const MeshTopology& topology, const VertCoords& points, float angleSinFactor = 2, float angleSinForBoundary = 0 );
49
52[[nodiscard]] MRMESH_API EdgeMetric edgeTableSymMetric( const MeshTopology & topology, const EdgeMetric & metric );
53
55
56}
Definition MRMeshTopology.h:22
MRMESH_API EdgeMetric edgeTableSymMetric(const MeshTopology &topology, const EdgeMetric &metric)
MRMESH_API EdgeMetric edgeCurvMetric(const Mesh &mesh, float angleSinFactor=2, float angleSinForBoundary=0)
MRMESH_API EdgeMetric discreteMinusAbsMeanCurvatureMetric(const Mesh &mesh)
MRMESH_API EdgeMetric edgeLengthMetric(const Mesh &mesh)
MRMESH_API EdgeMetric edgeAbsCurvMetric(const Mesh &mesh, float angleSinFactor=2, float angleSinForBoundary=0)
MRMESH_API EdgeMetric identityMetric()
metric returning 1 for every edge
MRMESH_API EdgeMetric discreteAbsMeanCurvatureMetric(const Mesh &mesh)
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRMesh.h:23