Weighted straight skeleton API update

This commit is contained in:
Fernando Cacciola 2010-05-03 18:25:25 +00:00
parent 5b8efd2fdb
commit de48d61720
3 changed files with 6 additions and 7 deletions

View File

@ -36,7 +36,7 @@
#include <qmessagebox.h>
#include <qpopupmenu.h>
#include <qmenubar.h>
#include <qtoolbutton.h>
#include <qtoolbutton.h>
#include <qtoolbar.h>
#include <qfiledialog.h>
#include <qtimer.h>

View File

@ -6,7 +6,7 @@
#include<CGAL/Polygon_2.h>
#include<CGAL/create_offset_polygons_2.h>
#include "print.h"
#include "print.h"
typedef CGAL::Exact_predicates_inexact_constructions_kernel K ;

View File

@ -1114,10 +1114,10 @@ public:
return *this ;
}
template<class InputPointIterator, class NT>
template<class InputPointIterator>
Straight_skeleton_builder_2& enter_contour ( InputPointIterator aBegin
, InputPointIterator aEnd
, NT aWeight = 1.0
, double aWeight = 1.0
, bool aIsClosed = true
, bool aCheckValidity = true
)
@ -1125,17 +1125,16 @@ public:
return enter_contour(aBegin, aEnd, aWeight, aIsClosed, Cartesian_converter<K,K>(), aCheckValidity);
}
template<class InputPointIterator, class InputWeightIterator, class NT>
template<class InputPointIterator, class InputWeightIterator>
Straight_skeleton_builder_2& enter_contour ( InputPointIterator aPBegin
, InputPointIterator aPEnd
, InputWeightIterator aWBegin
, InputWeightIterator aWEnd
, NT aWeight = 1.0
, bool aIsClosed = true
, bool aCheckValidity = true
)
{
return enter_contour(aPBegin, aPEnd, aWBegin, aWEnd, aWeight, aIsClosed, Cartesian_converter<K,K>(), aCheckValidity ) ;
return enter_contour(aPBegin, aPEnd, aWBegin, aWEnd, aIsClosed, Cartesian_converter<K,K>(), aCheckValidity ) ;
}
} ;