mirror of https://github.com/CGAL/cgal
(max)
This commit is contained in:
parent
2e471165f7
commit
8e398f0aa2
|
|
@ -828,7 +828,7 @@ public:
|
||||||
using face_descriptor = typename Surface_mesh::Face_index;
|
using face_descriptor = typename Surface_mesh::Face_index;
|
||||||
|
|
||||||
using PID = CGAL::cpp20::remove_cvref_t<decltype(get(polygon_patch_map, 0u))>;
|
using PID = CGAL::cpp20::remove_cvref_t<decltype(get(polygon_patch_map, 0u))>;
|
||||||
constexpr auto invalid_patch_id = std::numeric_limits<PID>::max();
|
constexpr auto invalid_patch_id = (std::numeric_limits<PID>::max)();
|
||||||
Surface_mesh surface_mesh;
|
Surface_mesh surface_mesh;
|
||||||
auto face_patch_pmap =
|
auto face_patch_pmap =
|
||||||
surface_mesh.template add_property_map<face_descriptor, PID>("fpm", invalid_patch_id).first;
|
surface_mesh.template add_property_map<face_descriptor, PID>("fpm", invalid_patch_id).first;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue