mirror of https://github.com/CGAL/cgal
finished todo + added missing biblio refs
This commit is contained in:
parent
a3e6d46b7d
commit
17f18b8dac
|
|
@ -92,7 +92,7 @@ namespace Barycentric_coordinates {
|
|||
const PointRange& polygon,
|
||||
const PointRange& seeds,
|
||||
OutIterator c_begin,
|
||||
const GeomTraits& /* traits */, // TODO: we should involve it in the code!
|
||||
const GeomTraits& traits,
|
||||
const typename GeomTraits::FT max_edge_length =
|
||||
typename GeomTraits::FT(1) / typename GeomTraits::FT(100)) {
|
||||
|
||||
|
|
@ -102,10 +102,11 @@ namespace Barycentric_coordinates {
|
|||
Harmonic_coordinates_2<PointRange, Domain, GeomTraits>;
|
||||
using FT = typename GeomTraits::FT;
|
||||
|
||||
Domain domain(polygon);
|
||||
Domain domain(polygon, traits);
|
||||
domain.create(max_edge_length, seeds);
|
||||
|
||||
Harmonic_coordinates_2 harmonic_coordinates_2(polygon, domain);
|
||||
Harmonic_coordinates_2 harmonic_coordinates_2(
|
||||
polygon, domain, traits);
|
||||
harmonic_coordinates_2.compute();
|
||||
|
||||
std::vector<FT> coordinates;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Generalized Barycentric Coordinates for 2D polygons and 3D polyhedra.
|
||||
Generalized Barycentric Coordinates for planar simple polygons.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
This package offers an efficient and robust implementation of various
|
||||
Generalized Barycentric Coordinates defined for 2D polygons and 3D polyhedra.
|
||||
Generalized Barycentric Coordinates defined for planar simple polygons.
|
||||
If coordinates with respect to multivariate scattered 2D points are required,
|
||||
please refer to Natural Neighbor Coordinates from the package 2D and Surface Function Interpolation.
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@
|
|||
* Why the 2D mesher does not generate boundary points exactly on the polygon boundary but only with the precision 10^-5?
|
||||
* Should we remove tables? Are not they redundant?
|
||||
|
||||
* Add 3D coordinates.
|
||||
* Merge this package with the natural neighbor coordinates package.
|
||||
* Improve the solver interface and make it a parameter for the harmonic coordinates class.
|
||||
* Add a demo with visualization of the coordinate functions.
|
||||
* Rename examples and tests to keep track of 2D and 3D versions.
|
||||
|
|
@ -2847,6 +2847,22 @@ ADDRESS = "Saarbr{\"u}cken, Germany"
|
|||
url = {https://igl.ethz.ch/projects/ARAP/}
|
||||
}
|
||||
|
||||
@book{cgal:bc:hs-gbcicg-17,
|
||||
Author = {K. Hormann and N. Sukumar},
|
||||
Publisher = {Taylor \& Fancis, {CRC} Press},
|
||||
Title = {Generalized Barycentric Coordinates in Computer Graphics and Computational Mechanics},
|
||||
Year = {2017}
|
||||
}
|
||||
|
||||
@article{cgal:bc:jmdgs-hcfca-07,
|
||||
Author = {P. Joshi and M. Meyer and T. DeRose and B. Green and T. Sanocki},
|
||||
Journal = {ACM Transactions on Graphics},
|
||||
Number = {3},
|
||||
Title = {Harmonic Coordinates for Character Articulation},
|
||||
Volume = {26},
|
||||
Year = {2007}
|
||||
}
|
||||
|
||||
@book{cgal:bc:m-dbc-27,
|
||||
Address = {Leipzig},
|
||||
Author = {A. F. M{\"o}bius},
|
||||
|
|
|
|||
Loading…
Reference in New Issue