Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Given a facet, return the squared length of its dual segment. More...
#include <Delaunay_triangulation_extension_3.hpp>
Constructors | |
Get_squared_length_of_dual_of_facet (const DelaunayTriangulation3 &T) | |
The functor has to be constructed with a given 3D Delaunay triangulation. More... | |
Functors | |
FT | operator() (const Facet &facet) const |
Return the squared length of the dual segment of the input facet. More... | |
template<class NT > | |
void | operator() (const Facet &facet, NT &squared_length) const |
Same as previous, but allows different number types. More... | |
void | operator() (const Facet &facet, double &squared_length) const |
Specializes the last functor for double number types. More... | |
Given a facet, return the squared length of its dual segment.
It uses the Get_dual_of_facet functor for storing the dual as a segment, and then computes its length.
|
inline |
The functor has to be constructed with a given 3D Delaunay triangulation.
Return the squared length of the dual segment of the input facet.
If the dual is infinite, it returns instead the infinite value (or a maximal value if no infinite value exists).
|
inline |
Specializes the last functor for double number types.
|
inline |
Same as previous, but allows different number types.