Update diagonalize traits inclusions + deprecation warnings

This commit is contained in:
Simon Giraudot 2018-04-16 16:10:24 +02:00
parent 41d554fe58
commit 7048b5cb17
14 changed files with 22 additions and 12 deletions

View File

@ -22,7 +22,6 @@
#include <CGAL/Search_traits_3.h>
#include <CGAL/squared_distance_3.h>
#include <CGAL/Orthogonal_k_neighbor_search.h>
#include <CGAL/Default_diagonalize_traits.h>
#include <CGAL/compute_average_spacing.h>
#include <CGAL/grid_simplify_point_set.h>
#include <CGAL/jet_smooth_point_set.h>

View File

@ -1,3 +1,5 @@
#define CGAL_NO_DEPRECATION_WARNINGS
// Example program for the linear_least_square_fitting function on a set of circles in 2D
#include <CGAL/Cartesian.h>

View File

@ -1,3 +1,5 @@
#define CGAL_NO_DEPRECATION_WARNINGS
// Example program for the linear_least_square_fitting function on set of cuboids in 3D
#include <CGAL/Cartesian.h>
#include <CGAL/linear_least_squares_fitting_3.h>

View File

@ -1,3 +1,5 @@
#define CGAL_NO_DEPRECATION_WARNINGS
// test for the linear_least_square_fitting() functions.
#include <CGAL/Cartesian.h>
#include <CGAL/algorithm.h>

View File

@ -1,3 +1,5 @@
#define CGAL_NO_DEPRECATION_WARNINGS
// test for the linear_least_square_fitting() functions.

View File

@ -1,3 +1,5 @@
#define CGAL_NO_DEPRECATION_WARNINGS
// test for the linear_least_square_fitting() functions.

View File

@ -1,3 +1,5 @@
#define CGAL_NO_DEPRECATION_WARNINGS
// test for the linear_least_square_fitting() functions.

View File

@ -1,3 +1,5 @@
#define CGAL_NO_DEPRECATION_WARNINGS
// test for the linear_least_square_fitting() functions.

View File

@ -1,5 +1,7 @@
// Example program for the linear_least_square_fitting function
#define CGAL_NO_DEPRECATION_WARNINGS
#include <CGAL/Cartesian.h>
#include <CGAL/linear_least_squares_fitting_3.h>
#ifdef CGAL_EIGEN3_ENABLED

View File

@ -1,3 +1,5 @@
#define CGAL_NO_DEPRECATION_WARNINGS
// Example program for the linear_least_square_fitting function
// on a set of tetrahedra in 3D

View File

@ -1,3 +1,5 @@
#define CGAL_NO_DEPRECATION_WARNINGS
// test for the linear_least_square_fitting() functions.
#include <CGAL/Cartesian.h>
#include <CGAL/algorithm.h>

View File

@ -1,3 +1,5 @@
#define CGAL_NO_DEPRECATION_WARNINGS
// Example program for the linear_least_square_fitting function on set of triangles in 3D
#include <CGAL/Cartesian.h>
#include <CGAL/linear_least_squares_fitting_3.h>

View File

@ -31,10 +31,8 @@
## Classes ##
- `CGAL::Diagonalize_traits`
- `CGAL::Eigen_solver_traits`
- `CGAL::Eigen_diagonalize_traits`
- `CGAL::Default_diagonalize_traits`
- `CGAL::Eigen_vector`
- `CGAL::Eigen_matrix`
- `CGAL::Eigen_sparse_matrix`

View File

@ -1,22 +1,13 @@
#include <iostream>
#ifdef CGAL_EIGEN3_ENABLED
#include <CGAL/Eigen_diagonalize_traits.h>
#else
#include <CGAL/Diagonalize_traits.h>
#endif
typedef double FT;
typedef CGAL::cpp11::array<FT, 6> Eigen_matrix;
typedef CGAL::cpp11::array<FT, 3> Eigen_vector;
typedef CGAL::cpp11::array<FT, 9> Eigen_three_vectors;
// If Eigen is enabled, use it, otherwise fallback to the internal model
#ifdef CGAL_EIGEN3_ENABLED
typedef CGAL::Eigen_diagonalize_traits<FT, 3> Diagonalize_traits;
#else
typedef CGAL::Diagonalize_traits<FT, 3> Diagonalize_traits;
#endif
int main(void)
{