mirror of https://github.com/CGAL/cgal
commit
87715e3342
|
|
@ -152,9 +152,16 @@ namespace CGAL {
|
|||
{
|
||||
typedef typename CGAL::graph_has_property<PolygonMesh, boost::vertex_point_t>::type
|
||||
Has_internal_pmap;
|
||||
|
||||
typedef typename boost::lookup_named_param_def <
|
||||
internal_np::vertex_point_t,
|
||||
NamedParametersVPM,
|
||||
boost::param_not_found
|
||||
> ::type NP_vpm;
|
||||
|
||||
struct Fake_GT {};//to be used if there is no internal vertex_point_map in PolygonMesh
|
||||
|
||||
typedef typename boost::mpl::if_c< Has_internal_pmap::value
|
||||
typedef typename boost::mpl::if_c< Has_internal_pmap::value || !boost::is_same<boost::param_not_found, NP_vpm>::value
|
||||
, typename GetK<PolygonMesh, NamedParametersVPM>::Kernel
|
||||
, Fake_GT
|
||||
>::type DefaultKernel;
|
||||
|
|
|
|||
Loading…
Reference in New Issue