fixed headers in benchmarks and tests

This commit is contained in:
Dmitry Anisimov 2021-05-20 13:53:18 +02:00
parent c11ce6c33a
commit 8fe0409298
27 changed files with 33 additions and 26 deletions

View File

@ -1,6 +1,6 @@
#include <CGAL/Real_timer.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/segment_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_inexact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,6 +1,6 @@
#include <CGAL/Real_timer.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_inexact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -185,7 +185,7 @@ coordinates at all the generated points. The used `Kernel` is inexact.
Example's point pattern.
\cgalFigureEnd
\cgalExample{Barycentric_coordinates_2/Wachspress_coordinates.cpp}
\cgalExample{Barycentric_coordinates_2/wachspress_coordinates.cpp}
\subsection dh_example Discrete Harmonic Coordinates

View File

@ -1,7 +1,7 @@
/*!
\example Barycentric_coordinates_2/segment_coordinates.cpp
\example Barycentric_coordinates_2/triangle_coordinates.cpp
\example Barycentric_coordinates_2/Wachspress_coordinates.cpp
\example Barycentric_coordinates_2/wachspress_coordinates.cpp
\example Barycentric_coordinates_2/discrete_harmonic_coordinates.cpp
\example Barycentric_coordinates_2/mean_value_coordinates.cpp
\example Barycentric_coordinates_2/harmonic_coordinates.cpp

View File

@ -1,5 +1,5 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/segment_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,5 +1,5 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,7 +1,7 @@
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/boundary_coordinates_2.h>
template<typename Kernel>
void test_boundary_coordinates_at_vertices() {

View File

@ -1,7 +1,7 @@
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/boundary_coordinates_2.h>
template<typename Kernel>
void test_boundary_coordinates_on_edges() {

View File

@ -1,5 +1,5 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Discrete_harmonic_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,5 +1,5 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Discrete_harmonic_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,5 +1,6 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Discrete_harmonic_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,5 +1,5 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Discrete_harmonic_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -5,7 +5,7 @@
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2/Delaunay_domain_2.h>
#include <CGAL/Barycentric_coordinates_2/Harmonic_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_inexact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,7 +1,7 @@
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Mean_value_coordinates_2.h>
template<typename Kernel>
void test_mv_const_linear_precision() {

View File

@ -1,7 +1,7 @@
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Mean_value_coordinates_2.h>
#include <boost/math/special_functions/fpclassify.hpp>
template<typename Kernel>

View File

@ -1,7 +1,8 @@
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Mean_value_coordinates_2.h>
template<typename Kernel>
void test_mv_triangle() {

View File

@ -1,7 +1,7 @@
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Mean_value_coordinates_2.h>
template<typename Kernel>
void test_mv_weakly_convex_polygon() {

View File

@ -1,5 +1,5 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Mean_value_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,5 +1,5 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/segment_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,5 +1,5 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/segment_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,7 +1,7 @@
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h>
template<typename Kernel>
void test_triangle_coordinates() {

View File

@ -1,5 +1,5 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Wachspress_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,5 +1,5 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Wachspress_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,5 +1,6 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Wachspress_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Discrete_harmonic_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,5 +1,6 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/triangle_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Wachspress_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -1,5 +1,5 @@
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Barycentric_coordinates_2.h>
#include <CGAL/Barycentric_coordinates_2/Wachspress_coordinates_2.h>
using Kernel = CGAL::Exact_predicates_exact_constructions_kernel;
using FT = typename Kernel::FT;

View File

@ -14,3 +14,6 @@
* Improve the solver interface and make it a parameter for the harmonic coordinates class.
* What about adding a demo with visualization of the coordinate functions?
* I should move internal weights to the weight interface.
* Rename examples and tests to keep track of 2D and 3D versions.
* Merge all necessary PRs.
* Change CGAL::max() to (CGAL::max)().