mirror of https://github.com/CGAL/cgal
Clean-up
This commit is contained in:
parent
72c31ebfac
commit
2f7d66e530
|
|
@ -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 <CGAL/config.h>
|
|
||||||
#include <CGAL/license.h>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#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
|
|
||||||
|
|
@ -53,7 +53,6 @@ Polygon_mesh_processing/predicate Polygon Mesh Processing - Predicate
|
||||||
Polygon_mesh_processing/repair Polygon Mesh Processing - Repair
|
Polygon_mesh_processing/repair Polygon Mesh Processing - Repair
|
||||||
Polygon_mesh_processing/miscellaneous Polygon Mesh Processing - Miscellaneous
|
Polygon_mesh_processing/miscellaneous Polygon Mesh Processing - Miscellaneous
|
||||||
Polygon_mesh_processing/detect_features Polygon Mesh Processing - Feature Detection
|
Polygon_mesh_processing/detect_features Polygon Mesh Processing - Feature Detection
|
||||||
Polygon_mesh_processing/transform Polygon Mesh Processing - Transform
|
|
||||||
Polyhedron 3D Polyhedral Surface
|
Polyhedron 3D Polyhedral Surface
|
||||||
Polyline_simplification_2 2D Polyline Simplification
|
Polyline_simplification_2 2D Polyline Simplification
|
||||||
Polytope_distance_d Optimal Distances
|
Polytope_distance_d Optimal Distances
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author(s) : Maxime Gimeno
|
// Author(s) : Maxime Gimeno
|
||||||
#ifndef CGAL_TRANSFORM_H
|
#ifndef CGAL_POLYGON_MESH_PROCESSING_TRANSFORM_H
|
||||||
#define CGAL_TRANSFORM_H
|
#define CGAL_POLYGON_MESH_PROCESSING_TRANSFORM_H
|
||||||
#include <CGAL/license/Polygon_mesh_processing/transform.h>
|
#include <CGAL/license/Polygon_mesh_processing/core.h>
|
||||||
|
|
||||||
#include <CGAL/Polygon_mesh_processing/internal/named_function_params.h>
|
#include <CGAL/Polygon_mesh_processing/internal/named_function_params.h>
|
||||||
#include <CGAL/Polygon_mesh_processing/internal/named_params_helper.h>
|
#include <CGAL/Polygon_mesh_processing/internal/named_params_helper.h>
|
||||||
|
|
@ -29,7 +29,7 @@ namespace CGAL{
|
||||||
namespace Polygon_mesh_processing{
|
namespace Polygon_mesh_processing{
|
||||||
/**
|
/**
|
||||||
* \ingroup PkgPolygonMeshProcessing
|
* \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 Transformation inherits from `CGAL::Aff_transformation_3`
|
||||||
* @tparam Mesh a model of `VertexListGraph`
|
* @tparam Mesh a model of `VertexListGraph`
|
||||||
|
|
@ -63,4 +63,4 @@ void transform(const Transformation& transformation,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // CGAL_TRANSFORM_H
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@ typedef CGAL::Surface_mesh<Point> Mesh;
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
// test open clipping with Surface_mesh
|
|
||||||
Mesh m;
|
Mesh m;
|
||||||
CGAL::make_tetrahedron(Point(0,0,0), Point(0,0,1), Point(0,1,2), Point(1,0,3), 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<K> trans(0,0,0,1,0,1,0,0,0,0,1,1);
|
CGAL::Aff_transformation_3<K> trans(0,0,0,1,0,1,0,0,0,0,1,1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue