CGAL 5.4.1 - Weights
BarycentricWeights_2 Concept Reference

Definition

A concept that describes the set of methods required in all classes used in the computation of 2D generalized barycentric weights.

Has Models:

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...
 

Member Function Documentation

◆ operator()()

template<typename OutIterator >
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.

Template Parameters
OutIteratora model of OutputIterator whose value type is FieldNumberType

The number of computed weights is equal to the number of polygon vertices.