$darkmode
VCG Library
Public Member Functions | List of all members
vcg::tri::AnisotropicDistance< MeshType > Class Template Reference

#include <geodesic.h>

Public Member Functions

template<class CrossFunctor >
 AnisotropicDistance (MeshType &m, CrossFunctor &cf)
 
ScalarType operator() (VertexType *v0, VertexType *v1)
 

Detailed Description

template<class MeshType>
class vcg::tri::AnisotropicDistance< MeshType >

Anisotropic Distance Functor

Given a couple of vertexes over the surface (usually an edge) it returns a distance value that is biased according to a tangential cross field. It is assumed that the cross field is smooth enough so that you can safely blend the two directions


The documentation for this class was generated from the following file: