Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Betti_numbers_2< AlphaComplex3 > Class Template Reference

Compute the Betti numbers of a 3D Cell Complex from its alpha-complex. More...

#include <Betti_numbers_2.hpp>

Public Types

typedef T_Betti_numbers_2< AlphaComplex3 > Self
 
typedef AlphaComplex3::FT FT
 Number type used for representing coordinates and weights in the $\alpha$-complex. More...
 
typedef boost::tuple< unsigned, unsigned, unsigned > result_type
 Boost tuple (Betti_0, Betti_1, Betti_2) More...
 

Functors

result_type operator() (const AlphaComplex3 &A) const
 Returns the Betti numbers of the input $\alpha$-complex. More...
 
template<class InputIterator >
result_type operator() (InputIterator begin, InputIterator end, const FT &alpha=0) const
 Computes the Betti numbers of the union of the family of input 3D balls represented as weighted points. More...
 

Detailed Description

template<class AlphaComplex3>
class SBL::GT::T_Betti_numbers_2< AlphaComplex3 >

Compute the Betti numbers of a 3D Cell Complex from its alpha-complex.

Template Parameters
AlphaComplex3A Model of the 3D $\alpha$-complex of the CGAL Library.

Member Typedef Documentation

◆ FT

typedef AlphaComplex3::FT FT

Number type used for representing coordinates and weights in the $\alpha$-complex.

◆ result_type

typedef boost::tuple<unsigned, unsigned, unsigned> result_type

Boost tuple (Betti_0, Betti_1, Betti_2)

◆ Self

typedef T_Betti_numbers_2<AlphaComplex3> Self

Member Function Documentation

◆ operator()() [1/2]

T_Betti_numbers_2< AlphaComplex3 >::result_type operator() ( const AlphaComplex3 &  A) const
inline

Returns the Betti numbers of the input $\alpha$-complex.

◆ operator()() [2/2]

T_Betti_numbers_2< AlphaComplex3 >::result_type operator() ( InputIterator  begin,
InputIterator  end,
const FT alpha = 0 
) const
inline

Computes the Betti numbers of the union of the family of input 3D balls represented as weighted points.