Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Union_of_balls_boundary_patch_shelling_3< UnionOfBallsBoundary3, IsInPatch >::Face_complex_traits Class Reference

#include <Union_of_balls_boundary_patch_shelling_3.hpp>

Classes

class  Cell_handle
 Wrapper for the faces of the boundary in the cell complex shelling diagram. More...
 
class  Get_cell_boundary_from_halfedge
 Functor casting a halfedge of the boundary to a cell's boundary of the cell complex. More...
 
class  Get_cell_from_face
 Functor casting a face of the boundary to a cell of the cell complex. More...
 
class  Is_in_cell_complex
 Predicate checking that a cell or the boundary of a cell is at an interface, i.e in a binding patch. More...
 

Public Types

typedef UnionOfBallsBoundary3 Cell_complex
 The cell complex as the same structure as the boundary. More...
 
typedef std::pair< Cell_handle, Cell_handleCell_boundary
 Boundary of a cell, that is a pair of adjacent faces. More...
 
typedef boost::transform_iterator< Get_cell_from_face, typename Cell_complex::Face_iterator > Cells_iterator_base
 Base iterator over all the faces of the boundary cast into cells of the cell complex. More...
 
typedef boost::filter_iterator< Is_in_cell_complex, Cells_iterator_baseCells_iterator
 Iterator over all the cells of the cell complex. More...
 
typedef boost::transform_iterator< Get_cell_boundary_from_halfedge, typename Cell_complex::Halfedge_iterator > Cell_boundaries_iterator_base
 Base iterator over all the halfedges of the boundary cast into cells' boundaries of the cell complex. More...
 
typedef boost::filter_iterator< Is_in_cell_complex, Cell_boundaries_iterator_baseCell_boundaries_iterator
 Iterator over all the cells' boundaries of the cell complex. More...
 

Constructors

 Face_complex_traits (void)
 
 Face_complex_traits (const IsInPatch &is_in_patch)
 
 Face_complex_traits (const IsInPatch &is_in_patch, std::set< Cell_handle > &boundary_faces)
 

Requirements

bool is_at_boundary (Cell_complex &complex, Cell_handle cell) const
 Check that a cell is at the boundary of the cell complex, i.e of the binding patch.. More...
 
Cells_iterator cells_begin (Cell_complex &complex) const
 Starts the set of cells of the cell complex. More...
 
Cells_iterator cells_end (Cell_complex &complex) const
 Ends the set of cells of the cell complex. More...
 
Cell_boundaries_iterator cell_boundaries_begin (Cell_complex &complex) const
 Starts the set of cells' boundaries of the cell complex. More...
 
Cell_boundaries_iterator cell_boundaries_end (Cell_complex &complex) const
 Ends the set of cells' boundaries of the cell complex. More...
 

Member Typedef Documentation

◆ Cell_boundaries_iterator

Iterator over all the cells' boundaries of the cell complex.

◆ Cell_boundaries_iterator_base

typedef boost::transform_iterator<Get_cell_boundary_from_halfedge, typename Cell_complex::Halfedge_iterator> Cell_boundaries_iterator_base

Base iterator over all the halfedges of the boundary cast into cells' boundaries of the cell complex.

◆ Cell_boundary

typedef std::pair<Cell_handle, Cell_handle> Cell_boundary

Boundary of a cell, that is a pair of adjacent faces.

◆ Cell_complex

typedef UnionOfBallsBoundary3 Cell_complex

The cell complex as the same structure as the boundary.

◆ Cells_iterator

typedef boost::filter_iterator<Is_in_cell_complex, Cells_iterator_base> Cells_iterator

Iterator over all the cells of the cell complex.

◆ Cells_iterator_base

typedef boost::transform_iterator<Get_cell_from_face, typename Cell_complex::Face_iterator> Cells_iterator_base

Base iterator over all the faces of the boundary cast into cells of the cell complex.

Constructor & Destructor Documentation

◆ Face_complex_traits() [1/3]

Face_complex_traits ( void  )
inline

◆ Face_complex_traits() [2/3]

Face_complex_traits ( const IsInPatch &  is_in_patch)
inline

◆ Face_complex_traits() [3/3]

Face_complex_traits ( const IsInPatch &  is_in_patch,
std::set< Cell_handle > &  boundary_faces 
)
inline

Member Function Documentation

◆ cell_boundaries_begin()

Cell_boundaries_iterator cell_boundaries_begin ( Cell_complex complex) const
inline

Starts the set of cells' boundaries of the cell complex.

◆ cell_boundaries_end()

Cell_boundaries_iterator cell_boundaries_end ( Cell_complex complex) const
inline

Ends the set of cells' boundaries of the cell complex.

◆ cells_begin()

Cells_iterator cells_begin ( Cell_complex complex) const
inline

Starts the set of cells of the cell complex.

◆ cells_end()

Cells_iterator cells_end ( Cell_complex complex) const
inline

Ends the set of cells of the cell complex.

◆ is_at_boundary()

bool is_at_boundary ( Cell_complex complex,
Cell_handle  cell 
) const
inline

Check that a cell is at the boundary of the cell complex, i.e of the binding patch..