mirror of https://github.com/CGAL/cgal
Add a static assertion about the Heat Method mode
This commit is contained in:
parent
863ab7541c
commit
d5886187b4
|
|
@ -820,6 +820,9 @@ class Surface_mesh_geodesic_distances_3
|
||||||
>
|
>
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
CGAL_static_assertion((std::is_same<Mode, Direct>::value) ||
|
||||||
|
(std::is_same<Mode, Intrinsic_Delaunay>::value));
|
||||||
|
|
||||||
// extract real types from Default
|
// extract real types from Default
|
||||||
#ifdef CGAL_EIGEN3_ENABLED
|
#ifdef CGAL_EIGEN3_ENABLED
|
||||||
typedef typename Default::Get<
|
typedef typename Default::Get<
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue