CGAL 6.1 - 2D Generalized Barycentric Coordinates

Loading...
Searching...
No Matches
List of all members
CGAL::Barycentric_coordinates::Discrete_harmonic_2< Traits > Class Template Reference
Reference Manual » Deprecated

`#include <CGAL/Barycentric_coordinates_2/Discrete_harmonic_2.h>`

## Definition

template<class Traits>
class CGAL::Barycentric_coordinates::Discrete_harmonic_2< Traits >

The class `Discrete_harmonic_2` implements 2D discrete harmonic coordinates ( [2], [9], [1] ).

This class is parameterized by a traits class `Traits`, and it is used as a coordinate class to complete the class `Generalized_barycentric_coordinates_2`. For a polygon with three vertices (triangle) it is better to use the class `Triangle_coordinates_2`. Discrete harmonic coordinates can be computed exactly. By definition, they do not necessarily give positive values.

Deprecated:
  This part of the package is deprecated since the version 5.4 of CGAL.

Template Parameters

  Traits | must be a model of the concepts `BarycentricTraits_2` and `PolygonTraits_2`.

Is model of
  `BarycentricCoordinates_2`

Precondition
  The provided polygon is strictly convex.

## Types
typedef Traits::FT | FT
| Number type.
typedef Traits::Point_2 | Point_2
| Point type.