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

Engine computing the interpolated cover between given inner and outer covers. More...

#include <Space_filling_model_coarse_graining_interpolated_cover.hpp>

Public Types

typedef T_Space_filling_model_coarse_graining_interpolated_cover< AlphaComplex3 > Self
 
typedef AlphaComplex3::Geom_traits::Kernel K
 3D geometric kernel defining the objects used in the alpha-complex. More...
 
typedef K::FT FT
 Number type used for representing the objects in the alpha-complex. More...
 
typedef K::Sphere_3 Sphere_3
 Representation of a sphere in the interpolated approximation. More...
 
typedef K::Point_3 Point_3
 Center of a sphere in the interpolated approximation. More...
 

Constructors

 T_Space_filling_model_coarse_graining_interpolated_cover (void)
 Default constructor. More...
 

Functor

template<class InputIterator , class OutputIterator >
OutputIterator operator() (InputIterator begin_inner, InputIterator end_inner, InputIterator begin_outer, InputIterator end_outer, const FT &volume, const FT &epsilon, OutputIterator out) const
 Make a linear interpolation from the balls defining an inner cover (begin_inner, end_inner) to the ones defining an outer cover (begin_outer, end_outer). More...
 

Detailed Description

template<class AlphaComplex3>
class T_Space_filling_model_coarse_graining_interpolated_cover< AlphaComplex3 >

Engine computing the interpolated cover between given inner and outer covers.

Template Parameters
AlphaComplex3Model of an alpha-complex used for computing the volume of the inteprolated covers.

Member Typedef Documentation

◆ FT

typedef K::FT FT

Number type used for representing the objects in the alpha-complex.

◆ K

typedef AlphaComplex3::Geom_traits::Kernel K

3D geometric kernel defining the objects used in the alpha-complex.

◆ Point_3

typedef K::Point_3 Point_3

Center of a sphere in the interpolated approximation.

◆ Self

◆ Sphere_3

typedef K::Sphere_3 Sphere_3

Representation of a sphere in the interpolated approximation.

Constructor & Destructor Documentation

◆ T_Space_filling_model_coarse_graining_interpolated_cover()

Default constructor.

Member Function Documentation

◆ operator()()

OutputIterator operator() ( InputIterator  begin_inner,
InputIterator  end_inner,
InputIterator  begin_outer,
InputIterator  end_outer,
const FT volume,
const FT epsilon,
OutputIterator  out 
) const
inline

Make a linear interpolation from the balls defining an inner cover (begin_inner, end_inner) to the ones defining an outer cover (begin_outer, end_outer).

The input volume is the target volume to obtain with the linear interpolation. The algorithm stops when the target volume is obtained with an error of epsilon. The interpolated balls are stored in the output iterator.