updated triangulation 2 projection traits to internal traits until the first has all missing functions

This commit is contained in:
Dmitry Anisimov 2021-04-23 10:55:46 +02:00
parent 8e11461025
commit 8429bf40ae
2 changed files with 3 additions and 2 deletions

View File

@ -1,14 +1,14 @@
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Weights/utils.h>
#include <CGAL/Weights/mean_value_weights.h>
#include <CGAL/Triangulation_2_projection_traits_3.h>
#include <CGAL/Weights/internal/Projection_traits_3.h>
// Typedefs.
using Kernel = CGAL::Simple_cartesian<double>;
using FT = typename Kernel::FT;
using Point_3 = typename Kernel::Point_3;
using Vector_3 = typename Kernel::Vector_3;
using PTraits = CGAL::Triangulation_2_projection_traits_3<Kernel>;
using PTraits = CGAL::Weights::internal::Projection_traits_3<Kernel>;
int main() {

View File

@ -21,3 +21,4 @@ Later:
To do now:
* What happens with WP/MV/DH weights on the polygon boundary?
* Check if this code works with the Projection_traits_xy class. E.g. the latter does not have the object Construct_centroid_2.
* Add missing functions in Triangulation_2_projection_3 traits.