diff --git a/Installation/include/CGAL/license/Polygon_mesh_processing/transform.h b/Installation/include/CGAL/license/Polygon_mesh_processing/transform.h deleted file mode 100644 index f4e3b24c6f6..00000000000 --- a/Installation/include/CGAL/license/Polygon_mesh_processing/transform.h +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright (c) 2016 GeometryFactory SARL (France). -// All rights reserved. -// -// This file is part of CGAL (www.cgal.org); you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public License as -// published by the Free Software Foundation; either version 3 of the License, -// or (at your option) any later version. -// -// Licensees holding a valid commercial license may use this file in -// accordance with the commercial license agreement provided with the software. -// -// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -// -// $URL$ -// $Id$ -// SPDX-License-Identifier: LGPL-3.0+ -// -// Author(s) : Andreas Fabri -// -// Warning: this file is generated, see include/CGAL/licence/README.md - - -#ifndef CGAL_LICENSE_POLYGON_MESH_PROCESSING_TRANSFORM_H -#define CGAL_LICENSE_POLYGON_MESH_PROCESSING_TRANSFORM_H - -#include -#include - - - - -#ifdef CGAL_POLYGON_MESH_PROCESSING_TRANSFORM_COMMERCIAL_LICENSE - -# if CGAL_POLYGON_MESH_PROCESSING_TRANSFORM_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE - -# if defined(CGAL_LICENSE_WARNING) - - CGAL_pragma_warning("Your commercial license for CGAL does not cover " - "this release of the Polygon Mesh Processing - Transform package.") -# endif - -# ifdef CGAL_LICENSE_ERROR -# error "Your commercial license for CGAL does not cover this release \ -of the Polygon Mesh Processing - Transform package. \ -You get this error, as you defined CGAL_LICENSE_ERROR." -# endif // CGAL_LICENSE_ERROR - -# endif // CGAL_POLYGON_MESH_PROCESSING_TRANSFORM_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE - -#else // no CGAL_POLYGON_MESH_PROCESSING_TRANSFORM_COMMERCIAL_LICENSE - -# if defined(CGAL_LICENSE_WARNING) - CGAL_pragma_warning("\nThe macro CGAL_POLYGON_MESH_PROCESSING_TRANSFORM_COMMERCIAL_LICENSE is not defined." - "\nYou use the CGAL Polygon Mesh Processing - Transform package under " - "the terms of the GPLv3+.") -# endif // CGAL_LICENSE_WARNING - -# ifdef CGAL_LICENSE_ERROR -# error "The macro CGAL_POLYGON_MESH_PROCESSING_TRANSFORM_COMMERCIAL_LICENSE is not defined.\ - You use the CGAL Polygon Mesh Processing - Transform package under the terms of \ -the GPLv3+. You get this error, as you defined CGAL_LICENSE_ERROR." -# endif // CGAL_LICENSE_ERROR - -#endif // no CGAL_POLYGON_MESH_PROCESSING_TRANSFORM_COMMERCIAL_LICENSE - -#endif // CGAL_LICENSE_CHECK_POLYGON_MESH_PROCESSING_TRANSFORM_H diff --git a/Installation/include/CGAL/license/gpl_package_list.txt b/Installation/include/CGAL/license/gpl_package_list.txt index 737e2463536..46f5b172373 100644 --- a/Installation/include/CGAL/license/gpl_package_list.txt +++ b/Installation/include/CGAL/license/gpl_package_list.txt @@ -53,7 +53,6 @@ Polygon_mesh_processing/predicate Polygon Mesh Processing - Predicate Polygon_mesh_processing/repair Polygon Mesh Processing - Repair Polygon_mesh_processing/miscellaneous Polygon Mesh Processing - Miscellaneous Polygon_mesh_processing/detect_features Polygon Mesh Processing - Feature Detection -Polygon_mesh_processing/transform Polygon Mesh Processing - Transform Polyhedron 3D Polyhedral Surface Polyline_simplification_2 2D Polyline Simplification Polytope_distance_d Optimal Distances diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/transform.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/transform.h index 04f56e8983a..82f41dc3604 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/transform.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/transform.h @@ -18,9 +18,9 @@ // // // Author(s) : Maxime Gimeno -#ifndef CGAL_TRANSFORM_H -#define CGAL_TRANSFORM_H -#include +#ifndef CGAL_POLYGON_MESH_PROCESSING_TRANSFORM_H +#define CGAL_POLYGON_MESH_PROCESSING_TRANSFORM_H +#include #include #include @@ -29,7 +29,7 @@ namespace CGAL{ namespace Polygon_mesh_processing{ /** * \ingroup PkgPolygonMeshProcessing - * applies a `Transformation` to every vertex of a `Mesh`. + * applies a transformation to every vertex of a `Mesh`. * * @tparam Transformation inherits from `CGAL::Aff_transformation_3` * @tparam Mesh a model of `VertexListGraph` @@ -63,4 +63,4 @@ void transform(const Transformation& transformation, } } -#endif // CGAL_TRANSFORM_H +#endif diff --git a/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_transform.cpp b/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_transform.cpp index 86de6d0c6fe..96933adcd71 100644 --- a/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_transform.cpp +++ b/Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_transform.cpp @@ -18,7 +18,6 @@ typedef CGAL::Surface_mesh Mesh; int main() { - // test open clipping with Surface_mesh Mesh m; CGAL::make_tetrahedron(Point(0,0,0), Point(0,0,1), Point(0,1,2), Point(1,0,3), m); CGAL::Aff_transformation_3 trans(0,0,0,1,0,1,0,0,0,0,1,1);