|
Developer Documentation
|
Functions for calculating curvatures. More...
#include <vector>Go to the source code of this file.
Functions | |
| template<typename MeshT > | |
| double | curvature::gauss_curvature (MeshT &_mesh, const typename MeshT::VertexHandle &_vh) |
| template<class MeshT , class VectorT , class REALT > | |
| void | curvature::discrete_mean_curv_op (const MeshT &_m, const typename MeshT::VertexHandle &_vh, VectorT &_n, REALT &_area) |
Functions for calculating curvatures.
Definition in file Curvature.hh.
| void curvature::discrete_mean_curv_op | ( | const MeshT & | _m, |
| const typename MeshT::VertexHandle & | _vh, | ||
| VectorT & | _n, | ||
| REALT & | _area | ||
| ) |
Mean Curvature Normal Operator warning: if mean curvature < 0 _n points to the inside warning: if mean curvature = 0 -> no normal information
| _n | mean_curvature(vit)*n(vit) |
| _area | global vertex area |
Definition at line 113 of file CurvatureT_impl.hh.
| double curvature::gauss_curvature | ( | MeshT & | _mesh, |
| const typename MeshT::VertexHandle & | _vh | ||
| ) |
compute consistent dirscrete gaussian curvature (vertex is a small sphere patch, edges are small cylinders)
compute consistent discrete gaussian curvature (vertex is a small sphere patch, edges are small cylinders)
Definition at line 75 of file CurvatureT_impl.hh.