Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Given the dual of an edge, compute its area. More...
#include <Delaunay_triangulation_extension_3.hpp>
Constructors | |
Get_area_of_dual_of_edge (const DelaunayTriangulation3 &T) | |
The functor has to be constructed with a given 3D Delaunay triangulation. More... | |
Functors | |
FT | operator() (const Edge &edge) const |
Given the dual of an edge, compute its area. More... | |
template<class InputIterator > | |
FT | operator() (InputIterator begin, InputIterator end) const |
Compute the cumulated area of the duals of all edges in between [begin, end). More... | |
Given the dual of an edge, compute its area.
It uses the Get_dual_of_edge fucntor for storing the dual of the input edge as a polygon, and then compute the area of the polygon. If the polygon is infinite, the infinite value (or a maximal value if no infinite value exists) is returned.
|
inline |
The functor has to be constructed with a given 3D Delaunay triangulation.
Given the dual of an edge, compute its area.
It uses the Get_dual_of_edge fucntor for storing the dual of the input edge as a polygon, and then compute the area of the polygon. If the polygon is infinite, the infinite value (or a maximal value if no infinite value exists) is returned.
edge | The input edge for which we want the area of its dual. |
|
inline |
Compute the cumulated area of the duals of all edges in between [begin, end).
It uses the first functor for computing the area of the dual of each edge.