integrate Laurent's comments

This commit is contained in:
Andreas Fabri 2015-08-28 15:09:37 +02:00
parent 884be65abc
commit a4351336d2
3 changed files with 4 additions and 17 deletions

View File

@ -98,10 +98,10 @@ void arrange_offset_polygons_2 ( InputPolygonPtrIterator aBegin
}
}
template<class K, class C>
std::vector< boost::shared_ptr< Polygon_with_holes_2<K,C> > >
template<class K, class C>
std::vector< boost::shared_ptr< Polygon_with_holes_2<K,C> > >
inline
arrange_offset_polygons_2 ( std::vector< boost::shared_ptr< Polygon_2<K,C> > > const& aPolygons )
arrange_offset_polygons_2 ( std::vector< boost::shared_ptr< Polygon_2<K,C> > > const& aPolygons )
{
std::vector< boost::shared_ptr< Polygon_with_holes_2<K,C> > > rResult ;

View File

@ -200,20 +200,7 @@ create_offset_polygons_2 ( FT const& aOffset, Skeleton const& aSs, K const& k )
return create_offset_polygons_2<Polygon>(aOffset, aSs, k ) ;
}
#if 0 // this is NOT documented
#if !defined(_MSC_VER) || ( _MSC_VER >= 1500 )
template<class FT, class Skeleton>
std::vector< boost::shared_ptr< Polygon_2< typename Skeleton::Traits::Kernel > > >
inline
create_offset_polygons_2 ( FT const& aOffset, Skeleton const& aSs )
{
typedef typename Skeleton::Traits::Kernel K ;
return create_offset_polygons_2(aOffset, aSs, K() ) ;
}
#endif
#endif
template<class Polygon, class FT, class Skeleton>
std::vector< boost::shared_ptr<Polygon> >

View File

@ -54,7 +54,7 @@ template<class FT, class OfK, class C>
std::vector< boost::shared_ptr< Polygon_with_holes_2<OfK,C> > >
inline
create_exterior_skeleton_and_offset_polygons_with_holes_2 ( FT const& aOffset
, Polygon_2<OfK,C> const& aPoly
, Polygon_2<OfK,C> const& aPoly
, bool aDontReverseOrientation = false
)
{