Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <CGAL/Weights/utils.h>
#include <boost/range/has_range_iterator.hpp>

#include <type_traits>
#include <vector>
#include <set>

Expand Down Expand Up @@ -767,6 +768,9 @@ class Surface_mesh_geodesic_distances_3
typedef LA LA_type;
#endif

static_assert(!std::is_same_v<LA_type, Default>,
"Error: You must either provide the template parameter 'LA' or link with the target CGAL::Eigen3_support");

typedef typename Default::Get<
VertexPointMap,
typename boost::property_map< TriangleMesh, vertex_point_t>::const_type>::type Vertex_point_map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <list>
#include <utility>
#include <limits>
#include <type_traits>

/*
#define CGAL_DEFORM_MESH_USE_EXPERIMENTAL_SCALE // define it to activate optimal scale calculation,
Expand Down Expand Up @@ -231,6 +232,13 @@ class Surface_mesh_deformation

// sparse linear solver
#ifndef DOXYGEN_RUNNING
#if !defined(CGAL_EIGEN3_ENABLED)
static_assert(!(std::is_same<ST, Default>::value),
"Error: You must either provide the template parameter 'ST' or link with the target CGAL::Eigen3_support");
static_assert(!(std::is_same<CR, Default>::value),
"Error: You must either provide the template parameter 'CR' or link with the target CGAL::Eigen3_support");
#endif

typedef typename Default::Get<
ST,
#if defined(CGAL_EIGEN3_ENABLED)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include <cmath>
#include <iostream>
#include <iomanip>
#include <type_traits>
#include <unordered_set>

#define CGAL_SMP_IA_DEBUG_L0 0
Expand Down Expand Up @@ -117,6 +118,9 @@ class Iterative_authalic_parameterizer_3
typedef SolverTraits_ Solver_traits;
#endif

static_assert(!std::is_same_v<Solver_traits, Default>,
"Error: You must either provide the template parameter 'SolverTraits_' or link with the target CGAL::Eigen3_support");

/// Triangle mesh type
typedef TriangleMesh_ Triangle_mesh;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <vector>
#include <fstream>
#include <iostream>
#include <type_traits>

/// \file MVC_post_processor_3.h

Expand Down Expand Up @@ -99,6 +100,9 @@ class MVC_post_processor_3
typedef SolverTraits_ Solver_traits;
#endif

static_assert(!std::is_same_v<Solver_traits, Default>,
"Error: You must either provide the template parameter 'SolverTraits_' or link with the target CGAL::Eigen3_support");

/// Triangle mesh type
typedef TriangleMesh_ Triangle_mesh;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <CGAL/IO/trace.h>
#include <CGAL/Timer.h>
#include <CGAL/Default.h>
#include <type_traits>

#include <CGAL/HalfedgeDS_default.h>
#include <CGAL/HalfedgeDS_vertex_max_base_with_id.h>
Expand Down Expand Up @@ -186,6 +187,11 @@ class Mean_curvature_flow_skeletonization
#endif

#ifndef DOXYGEN_RUNNING
#if !defined(CGAL_EIGEN3_ENABLED)
static_assert(!(std::is_same<SolverTraits_, Default>::value),
"Error: You must either provide the template parameter 'SolverTraits_' or link with the target CGAL::Eigen3_support");
#endif

typedef typename Default::Get<
SolverTraits_,
#if defined(CGAL_EIGEN3_ENABLED)
Expand Down
Loading