Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Union_of_balls_surface_volume_3_module< ModuleTraits, OutputArchive >::Union_of_balls_surface_volume_3 Class Reference

Contains pointers over two functors for computing the volumes and surfaces areas with different level of exactness. More...

#include <Union_of_balls_surface_volume_3_module.hpp>

Detailed Description

template<class ModuleTraits, class OutputArchive = boost::archive::xml_oarchive>
class SBL::Modules::T_Union_of_balls_surface_volume_3_module< ModuleTraits, OutputArchive >::Union_of_balls_surface_volume_3

Contains pointers over two functors for computing the volumes and surfaces areas with different level of exactness.

Only one of the pointers is used depending of the input mode of calculation:

  • exact: the points on the boundary of the union of the input 3D balls are represented with exact nunmber types.
  • inexact: these points are represented with interval arithmetics.

While the first mode is more precise, the second one is a lot faster.