From f05038ef9c97ce3330a267fbb3d50b2c43e6c9a1 Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Thu, 17 Nov 2016 00:39:51 +0200 Subject: [PATCH] updated --- .../single_mold_translational_casting_2.h | 10 ++++++++++ ...edge_single_mold_translational_casting_2.h | 19 +++++++++++++++---- .../Concepts/CastingTraits_2.h | 2 -- .../single_mold_translational_casting_2.h | 2 +- 4 files changed, 26 insertions(+), 7 deletions(-) diff --git a/Set_movable_separability_2/doc/Set_movable_separability_2/CGAL/single_mold_translational_casting_2.h b/Set_movable_separability_2/doc/Set_movable_separability_2/CGAL/single_mold_translational_casting_2.h index 519468e0efb..69abe0b04e1 100644 --- a/Set_movable_separability_2/doc/Set_movable_separability_2/CGAL/single_mold_translational_casting_2.h +++ b/Set_movable_separability_2/doc/Set_movable_separability_2/CGAL/single_mold_translational_casting_2.h @@ -34,5 +34,15 @@ OutputIterator single_mold_translational_casting_2(const CGAL::Polygon_2& pgn, OutputIterator oi); +/*! \ingroup PkgSetMovableSeparability2Funcs + * + * Same as above with the additional traits argument. + * \param[in] traits the traits to use. + */ +template +OutputIterator +single_mold_translational_casting_2(const CGAL::Polygon_2& pgn, + OutputIterator oi, CastingTraits_2& traits); + } /* end namesapce Set_movable_separability_2 */ } /* end namesapce CGAL */ diff --git a/Set_movable_separability_2/doc/Set_movable_separability_2/CGAL/top_edge_single_mold_translational_casting_2.h b/Set_movable_separability_2/doc/Set_movable_separability_2/CGAL/top_edge_single_mold_translational_casting_2.h index 8ccdfc8137f..e14b1301286 100644 --- a/Set_movable_separability_2/doc/Set_movable_separability_2/CGAL/top_edge_single_mold_translational_casting_2.h +++ b/Set_movable_separability_2/doc/Set_movable_separability_2/CGAL/top_edge_single_mold_translational_casting_2.h @@ -25,10 +25,21 @@ namespace Set_movable_separability_2 { * does not have three consecutive collinear vertices. */ template -pair -top_edge_single_mold_translational_casting_2(const CGAL::Polygon_2& pgn, - size_t i); +std::pair > +top_edge_single_mold_translational_casting_2 +(const CGAL::Polygon_2& pgn, size_t i); + +/*! \ingroup PkgSetMovableSeparability2Funcs + * + * Same as above with the additional traits argument. + * \param[in] traits the traits to use. + */ +template +std::pair > +top_edge_single_mold_translational_casting_2 +(const CGAL::Polygon_2& pgn, size_t i, CastingTraits_2& traits); } /* end namesapce Set_movable_separability_2 */ } /* end namesapce CGAL */ diff --git a/Set_movable_separability_2/doc/Set_movable_separability_2/Concepts/CastingTraits_2.h b/Set_movable_separability_2/doc/Set_movable_separability_2/Concepts/CastingTraits_2.h index 73f4083825d..85790d250ad 100644 --- a/Set_movable_separability_2/doc/Set_movable_separability_2/Concepts/CastingTraits_2.h +++ b/Set_movable_separability_2/doc/Set_movable_separability_2/Concepts/CastingTraits_2.h @@ -12,8 +12,6 @@ \cgalHasModel Any CGAL kernel, e.g., CGAL::Exact_predicates_exact_constructions_kernel. - \sa `GeneralPolygon_2` - */ class CastingTraits_2 { diff --git a/Set_movable_separability_2/include/CGAL/single_mold_translational_casting_2.h b/Set_movable_separability_2/include/CGAL/single_mold_translational_casting_2.h index 1bafecd3c02..afe56a7af61 100644 --- a/Set_movable_separability_2/include/CGAL/single_mold_translational_casting_2.h +++ b/Set_movable_separability_2/include/CGAL/single_mold_translational_casting_2.h @@ -1,4 +1,4 @@ -// Copyright (c) 2005,2006,2007,2008,2009,2010,2011 Tel-Aviv University (Israel). +// Copyright (c) 2016 Tel-Aviv University (Israel). // All rights reserved. // // This file is part of CGAL (www.cgal.org).