mirror of https://github.com/CGAL/cgal
Fix mark type
This commit is contained in:
parent
ea07b8c772
commit
b58a93c7c7
|
|
@ -163,7 +163,7 @@ namespace CGAL {
|
||||||
|
|
||||||
/// test if adart->beta(ai)->beta(aj) exists and is not marked for amark
|
/// test if adart->beta(ai)->beta(aj) exists and is not marked for amark
|
||||||
bool is_unmarked2(Dart_descriptor adart, unsigned int ai, unsigned int aj,
|
bool is_unmarked2(Dart_descriptor adart, unsigned int ai, unsigned int aj,
|
||||||
typename Map::size_type amark) const
|
size_type amark) const
|
||||||
{ return
|
{ return
|
||||||
!mmap->is_marked(mmap->beta(adart, ai, aj), amark);
|
!mmap->is_marked(mmap->beta(adart, ai, aj), amark);
|
||||||
}
|
}
|
||||||
|
|
@ -209,6 +209,8 @@ namespace CGAL {
|
||||||
/// true iff this iterator is basic
|
/// true iff this iterator is basic
|
||||||
typedef Tag_true Basic_iterator;
|
typedef Tag_true Basic_iterator;
|
||||||
|
|
||||||
|
typedef typename Map::size_type size_type;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// Main constructor.
|
/// Main constructor.
|
||||||
CMap_dart_iterator(Map& amap, Dart_descriptor adart):
|
CMap_dart_iterator(Map& amap, Dart_descriptor adart):
|
||||||
|
|
@ -263,7 +265,7 @@ namespace CGAL {
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
/// test if adart->beta(ai) exists and is not marked for amark
|
/// test if adart->beta(ai) exists and is not marked for amark
|
||||||
bool is_unmarked(Dart_descriptor adart, unsigned int ai, unsigned amark) const
|
bool is_unmarked(Dart_descriptor adart, unsigned int ai, size_type amark) const
|
||||||
{ return !mmap->is_marked(mmap->beta(adart,ai), amark); }
|
{ return !mmap->is_marked(mmap->beta(adart,ai), amark); }
|
||||||
|
|
||||||
/// test if adart->beta(ai)->beta(aj) exists
|
/// test if adart->beta(ai)->beta(aj) exists
|
||||||
|
|
@ -272,7 +274,7 @@ namespace CGAL {
|
||||||
|
|
||||||
/// test if adart->beta(ai)->beta(aj) exists and is not marked for amark
|
/// test if adart->beta(ai)->beta(aj) exists and is not marked for amark
|
||||||
bool is_unmarked2(Dart_descriptor adart, unsigned int ai, unsigned int aj,
|
bool is_unmarked2(Dart_descriptor adart, unsigned int ai, unsigned int aj,
|
||||||
unsigned amark) const
|
size_type amark) const
|
||||||
{ return !mmap->is_marked(mmap->beta(adart, ai, aj), amark); }
|
{ return !mmap->is_marked(mmap->beta(adart, ai, aj), amark); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue