This commit is contained in:
Efi Fogel 2016-11-17 00:39:51 +02:00
parent b207d35fd9
commit f05038ef9c
4 changed files with 26 additions and 7 deletions

View File

@ -34,5 +34,15 @@ OutputIterator
single_mold_translational_casting_2(const CGAL::Polygon_2<CastingTraits>& pgn, single_mold_translational_casting_2(const CGAL::Polygon_2<CastingTraits>& pgn,
OutputIterator oi); OutputIterator oi);
/*! \ingroup PkgSetMovableSeparability2Funcs
*
* Same as above with the additional traits argument.
* \param[in] traits the traits to use.
*/
template <typename CastingTraits_2, typename OutputIterator>
OutputIterator
single_mold_translational_casting_2(const CGAL::Polygon_2<CastingTraits>& pgn,
OutputIterator oi, CastingTraits_2& traits);
} /* end namesapce Set_movable_separability_2 */ } /* end namesapce Set_movable_separability_2 */
} /* end namesapce CGAL */ } /* end namesapce CGAL */

View File

@ -25,10 +25,21 @@ namespace Set_movable_separability_2 {
* does not have three consecutive collinear vertices. * does not have three consecutive collinear vertices.
*/ */
template <typename CastingTraits_2> template <typename CastingTraits_2>
pair<bool, pair<typename CastingTraits_2::Direction_2, std::pair<bool, std::pair<typename CastingTraits_2::Direction_2,
typename CastingTraits_2::Direction_2> typename CastingTraits_2::Direction_2> >
top_edge_single_mold_translational_casting_2(const CGAL::Polygon_2<Kernel>& pgn, top_edge_single_mold_translational_casting_2
size_t i); (const CGAL::Polygon_2<CastingTraits_2>& pgn, size_t i);
/*! \ingroup PkgSetMovableSeparability2Funcs
*
* Same as above with the additional traits argument.
* \param[in] traits the traits to use.
*/
template <typename CastingTraits_2>
std::pair<bool, std::pair<typename CastingTraits_2::Direction_2,
typename CastingTraits_2::Direction_2> >
top_edge_single_mold_translational_casting_2
(const CGAL::Polygon_2<CastingTraits_2>& pgn, size_t i, CastingTraits_2& traits);
} /* end namesapce Set_movable_separability_2 */ } /* end namesapce Set_movable_separability_2 */
} /* end namesapce CGAL */ } /* end namesapce CGAL */

View File

@ -12,8 +12,6 @@
\cgalHasModel Any CGAL kernel, e.g., CGAL::Exact_predicates_exact_constructions_kernel. \cgalHasModel Any CGAL kernel, e.g., CGAL::Exact_predicates_exact_constructions_kernel.
\sa `GeneralPolygon_2`
*/ */
class CastingTraits_2 { class CastingTraits_2 {

View File

@ -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. // All rights reserved.
// //
// This file is part of CGAL (www.cgal.org). // This file is part of CGAL (www.cgal.org).