remove no longer needed parameter

This commit is contained in:
Sébastien Loriot 2022-02-24 12:08:12 +01:00
parent b1e0dbbc6a
commit 3ecce6310f
5 changed files with 5 additions and 5 deletions

View File

@ -136,7 +136,7 @@ and the Region Growing approach for detecting shapes in a set of arbitrary items
- `CGAL::Shape_detection::Segment_set::Least_squares_line_fit_sorting<GeomTraits, InputRange, %NeighborQuery, SegmentMap>`
### Polygon Mesh ###
- `CGAL::Shape_detection::Polygon_mesh::One_ring_neighbor_query<PolygonMesh, FaceRange>`
- `CGAL::Shape_detection::Polygon_mesh::One_ring_neighbor_query<PolygonMesh>`
- `CGAL::Shape_detection::Polygon_mesh::Polyline_graph<GeomTraits, PolygonMesh, FaceRange, EdgeRange, VertexToPointMap>`
- `CGAL::Shape_detection::Polygon_mesh::Least_squares_plane_fit_region<GeomTraits, PolygonMesh, FaceRange, VertexToPointMap>`
- `CGAL::Shape_detection::Polygon_mesh::Least_squares_plane_fit_sorting<GeomTraits, PolygonMesh, %NeighborQuery, FaceRange, VertexToPointMap>`

View File

@ -25,7 +25,7 @@ using Point_3 = typename Kernel::Point_3;
#else
using Polygon_mesh = CGAL::Polyhedron_3<Kernel, CGAL::Polyhedron_items_3, CGAL::HalfedgeDS_vector>;
using Face_range = typename CGAL::Iterator_range<typename boost::graph_traits<Polygon_mesh>::face_iterator>;
using Neighbor_query = CGAL::Shape_detection::Polygon_mesh::One_ring_neighbor_query<Polygon_mesh, Face_range>;
using Neighbor_query = CGAL::Shape_detection::Polygon_mesh::One_ring_neighbor_query<Polygon_mesh>;
using Region_type = CGAL::Shape_detection::Polygon_mesh::Least_squares_plane_fit_region<Kernel, Polygon_mesh, Face_range>;
using Sorting = CGAL::Shape_detection::Polygon_mesh::Least_squares_plane_fit_sorting<Kernel, Polygon_mesh, Neighbor_query, Face_range>;
#endif

View File

@ -42,7 +42,7 @@ namespace Polygon_mesh {
*/
template<typename PolygonMesh
#ifndef CGAL_NO_DEPRECATED_CODE
, typename FaceRange = typename PolygonMesh::Face_range
, typename FaceRange = void
#endif
>
class One_ring_neighbor_query

View File

@ -151,7 +151,7 @@ OutputIterator region_growing_planes(
using Traits = GeomTraits;
using Polyhedron = CGAL::Polyhedron_3<Traits, CGAL::Polyhedron_items_3, CGAL::HalfedgeDS_vector>;
using Face_range = typename CGAL::Iterator_range<typename boost::graph_traits<Polyhedron>::face_iterator>;
using Neighbor_query = Polygon_mesh::One_ring_neighbor_query<Polyhedron, Face_range>;
using Neighbor_query = Polygon_mesh::One_ring_neighbor_query<Polyhedron>;
using Region_type = Polygon_mesh::Least_squares_plane_fit_region<Traits, Polyhedron, Face_range>;
using Sorting = Polygon_mesh::Least_squares_plane_fit_sorting<Traits, Polyhedron, Neighbor_query, Face_range>;
using Region_growing = Region_growing<Face_range, Neighbor_query, Region_type, typename Sorting::Seed_map>;

View File

@ -30,7 +30,7 @@ bool test_region_growing_on_cube(int argc, char *argv[]) {
using Polyhedron = CGAL::Polyhedron_3<Kernel, CGAL::Polyhedron_items_3, CGAL::HalfedgeDS_vector>;
using Face_range = typename CGAL::Iterator_range<typename boost::graph_traits<Polyhedron>::face_iterator>;
using Neighbor_query = SD::Polygon_mesh::One_ring_neighbor_query<Polyhedron, Face_range>;
using Neighbor_query = SD::Polygon_mesh::One_ring_neighbor_query<Polyhedron>;
using Region_type = SD::Polygon_mesh::Least_squares_plane_fit_region<Kernel, Polyhedron, Face_range>;
using Sorting = SD::Polygon_mesh::Least_squares_plane_fit_sorting<Kernel, Polyhedron, Neighbor_query, Face_range>;
using Region_growing = SD::Region_growing<Face_range, Neighbor_query, Region_type, typename Sorting::Seed_map>;