aimstil  5.0.5
til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type > Class Template Reference

#include <cathier/meshUtils.h>

Inheritance diagram for til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >:

Public Types

typedef TCircularNeighborIndices::value_type Neighborhood
 
typedef TVertexCollection::value_type Vertex
 

Public Member Functions

 Mesh_curvature (const TVertexCollection &vertices, const TCircularNeighborIndices &neighs)
 
prec_type gaussianCurvature () const
 Return computed (signed) Gaussian curvature at vertex. More...
 
prec_type meanCurvature () const
 Return computed (signed) mean curvature at vertex. More...
 
std::pair< prec_type, prec_type > principalCurvatures () const
 Return computed (signed) principal curvatures at vertex. More...
 
prec_type voronoiArea () const
 Return computed voronoi area at vertex. More...
 
const numeric_array< prec_type, 3 > & normal () const
 Return computed normal. More...
 
prec_type unorientedGaussianCurvature () const
 Return unoriented Gaussian curvature at vertex. More...
 
prec_type unorientedMeanCurvature () const
 Return unoriented mean curvature at vertex. More...
 
void process (std::size_t i)
 Computes all the good stuff at the i-th vertex. More...
 

Detailed Description

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
class til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >

Definition at line 930 of file meshUtils.h.

Member Typedef Documentation

◆ Neighborhood

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
typedef TCircularNeighborIndices::value_type til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >::Neighborhood

Definition at line 935 of file meshUtils.h.

◆ Vertex

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
typedef TVertexCollection::value_type til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >::Vertex

Definition at line 936 of file meshUtils.h.

Constructor & Destructor Documentation

◆ Mesh_curvature()

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >::Mesh_curvature ( const TVertexCollection &  vertices,
const TCircularNeighborIndices &  neighs 
)
inline

Definition at line 940 of file meshUtils.h.

Member Function Documentation

◆ gaussianCurvature()

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
prec_type til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >::gaussianCurvature ( ) const
inline

Return computed (signed) Gaussian curvature at vertex.

Definition at line 946 of file meshUtils.h.

◆ meanCurvature()

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
prec_type til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >::meanCurvature ( ) const
inline

Return computed (signed) mean curvature at vertex.

Definition at line 948 of file meshUtils.h.

◆ normal()

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
const numeric_array<prec_type, 3>& til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >::normal ( ) const
inline

Return computed normal.

Definition at line 955 of file meshUtils.h.

◆ principalCurvatures()

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
std::pair<prec_type, prec_type> til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >::principalCurvatures ( ) const
inline

Return computed (signed) principal curvatures at vertex.

the first in the pair is always the one with highest norm.

Definition at line 951 of file meshUtils.h.

◆ process()

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
void til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >::process ( std::size_t  i)
inline

Computes all the good stuff at the i-th vertex.

NB: nothing is returned here, use the appropriate get functions after calling compute.

Definition at line 967 of file meshUtils.h.

◆ unorientedGaussianCurvature()

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
prec_type til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >::unorientedGaussianCurvature ( ) const
inline

Return unoriented Gaussian curvature at vertex.

Definition at line 958 of file meshUtils.h.

◆ unorientedMeanCurvature()

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
prec_type til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >::unorientedMeanCurvature ( ) const
inline

Return unoriented mean curvature at vertex.

Definition at line 960 of file meshUtils.h.

◆ voronoiArea()

template<typename TVertexCollection, typename TCircularNeighborIndices, typename prec_type>
prec_type til::Mesh_curvature< TVertexCollection, TCircularNeighborIndices, prec_type >::voronoiArea ( ) const
inline

Return computed voronoi area at vertex.

Definition at line 953 of file meshUtils.h.


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