CGAL 5.4  Weights

A concept that describes the set of methods required in all classes used in the computation of 2D generalized barycentric weights.
Public Member Functions  
template<typename OutIterator >  
OutIterator  operator() (const Point_2 &query, OutIterator w_begin) 
fills a destination range with 2D generalized barycentric weights computed at the query point with respect to the vertices of the input polygon. More...  
OutIterator BarycentricWeights_2::operator()  (  const Point_2 &  query, 
OutIterator  w_begin  
) 
fills a destination range with 2D generalized barycentric weights computed at the query
point with respect to the vertices of the input polygon.
OutIterator  a model of OutputIterator whose value type is FieldNumberType 
The number of computed weights is equal to the number of polygon vertices.