Merge remote-tracking branch 'origin/Weights-new_package-danston' into Weights-unification-danston

This commit is contained in:
Dmitry Anisimov 2021-06-09 17:25:22 +02:00
commit b762fc70c6
3 changed files with 12 additions and 6 deletions

View File

@ -425,11 +425,13 @@ namespace Weights {
/// \cond SKIP_IN_MANUAL
template<
typename PointRange,
typename Point_2,
typename OutIterator>
OutIterator discrete_harmonic_weights_2(
const PointRange& polygon, const Point_2& query, OutIterator w_begin) {
const PointRange& polygon,
const typename PointRange::value_type& query,
OutIterator w_begin) {
using Point_2 = typename PointRange::value_type;
using GeomTraits = typename Kernel_traits<Point_2>::Kernel;
const GeomTraits traits;
return discrete_harmonic_weights_2(

View File

@ -587,11 +587,13 @@ namespace Weights {
/// \cond SKIP_IN_MANUAL
template<
typename PointRange,
typename Point_2,
typename OutIterator>
OutIterator mean_value_weights_2(
const PointRange& polygon, const Point_2& query, OutIterator w_begin) {
const PointRange& polygon,
const typename PointRange::value_type& query,
OutIterator w_begin) {
using Point_2 = typename PointRange::value_type;
using GeomTraits = typename Kernel_traits<Point_2>::Kernel;
const GeomTraits traits;
return mean_value_weights_2(

View File

@ -405,11 +405,13 @@ namespace Weights {
/// \cond SKIP_IN_MANUAL
template<
typename PointRange,
typename Point_2,
typename OutIterator>
OutIterator wachspress_weights_2(
const PointRange& polygon, const Point_2& query, OutIterator w_begin) {
const PointRange& polygon,
const typename PointRange::value_type& query,
OutIterator w_begin) {
using Point_2 = typename PointRange::value_type;
using GeomTraits = typename Kernel_traits<Point_2>::Kernel;
const GeomTraits traits;
return wachspress_weights_2(