mirror of https://github.com/CGAL/cgal
Merge pull request #2948 from lrineau/Subdivision-fix_dependency_to_PMP-GF
Subdivision: Use named parameters from the BGL package
This commit is contained in:
commit
bbf00ce290
|
|
@ -16,7 +16,7 @@ typedef CGAL::Surface_mesh<Kernel::Point_3> PolygonMesh;
|
|||
|
||||
using namespace std;
|
||||
using namespace CGAL;
|
||||
namespace params = CGAL::Polygon_mesh_processing::parameters;
|
||||
namespace params = CGAL::parameters;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
if (argc > 4) {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ typedef CGAL::Simple_cartesian<double> Kernel;
|
|||
typedef CGAL::Surface_mesh<Kernel::Point_3> PolygonMesh;
|
||||
using namespace std;
|
||||
using namespace CGAL;
|
||||
namespace params = CGAL::Polygon_mesh_processing::parameters;
|
||||
namespace params = CGAL::parameters;
|
||||
|
||||
// ======================================================================
|
||||
template <class Poly>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ typedef CGAL::Polyhedron_3<Kernel> PolygonMesh;
|
|||
|
||||
using namespace std;
|
||||
using namespace CGAL;
|
||||
namespace params = CGAL::Polygon_mesh_processing::parameters;
|
||||
namespace params = CGAL::parameters;
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
if (argc > 4) {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ typedef CGAL::Surface_mesh<Kernel::Point_3> PolygonMesh;
|
|||
|
||||
using namespace std;
|
||||
using namespace CGAL;
|
||||
namespace params = CGAL::Polygon_mesh_processing::parameters;
|
||||
namespace params = CGAL::parameters;
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
if (argc > 4) {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ typedef CGAL::Surface_mesh<Kernel::Point_3> PolygonMesh;
|
|||
|
||||
using namespace std;
|
||||
using namespace CGAL;
|
||||
namespace params = CGAL::Polygon_mesh_processing::parameters;
|
||||
namespace params = CGAL::parameters;
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
if (argc > 4) {
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@
|
|||
|
||||
#include <CGAL/circulator.h>
|
||||
|
||||
#include <CGAL/Polygon_mesh_processing/internal/named_function_params.h>
|
||||
#include <CGAL/Polygon_mesh_processing/internal/named_params_helper.h>
|
||||
#include <CGAL/boost/graph/named_function_params.h>
|
||||
#include <CGAL/boost/graph/named_params_helper.h>
|
||||
|
||||
#include <CGAL/Subdivision_method_3/internal/subdivision_hosts_impl_3.h>
|
||||
|
||||
|
|
@ -46,7 +46,7 @@ namespace Subdivision_method_3 {
|
|||
*/
|
||||
/// @{
|
||||
|
||||
namespace parameters = Polygon_mesh_processing::parameters;
|
||||
namespace parameters = CGAL::parameters;
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@
|
|||
|
||||
#include <CGAL/circulator.h>
|
||||
|
||||
#include <CGAL/Polygon_mesh_processing/internal/named_function_params.h>
|
||||
#include <CGAL/Polygon_mesh_processing/internal/named_params_helper.h>
|
||||
#include <CGAL/boost/graph/named_function_params.h>
|
||||
#include <CGAL/boost/graph/named_params_helper.h>
|
||||
|
||||
#include <CGAL/Subdivision_method_3/subdivision_hosts_3.h>
|
||||
#include <CGAL/Subdivision_method_3/subdivision_masks_3.h>
|
||||
|
|
@ -89,12 +89,12 @@ Catmull-Clark subdivision.
|
|||
*/
|
||||
/// @{
|
||||
|
||||
namespace parameters = Polygon_mesh_processing::parameters;
|
||||
namespace parameters = CGAL::parameters;
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#ifndef DOXYGEN_RUNNING
|
||||
// backward compatibility
|
||||
// Backward compatibility
|
||||
template <class PolygonMesh>
|
||||
void CatmullClark_subdivision(PolygonMesh& pmesh, int step = 1) {
|
||||
PQQ(pmesh, CatmullClark_mask_3<PolygonMesh>(&pmesh, get(vertex_point,pmesh)), step);
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ Interval_support
|
|||
Kernel_23
|
||||
Modular_arithmetic
|
||||
Number_types
|
||||
Polygon_mesh_processing
|
||||
Profiling_tools
|
||||
Property_map
|
||||
STL_Extension
|
||||
|
|
|
|||
Loading…
Reference in New Issue