Skip to content

Commit b353dd6

Browse files
committed
Fix missing definitions for Nef_2
1 parent ace3469 commit b353dd6

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

Nef_2/include/CGAL/Nef_2/PM_const_decorator.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <string>
2222
#include <list>
2323
#include <sstream>
24+
#include <CGAL/Nef_2/Object_handle.h>
2425
#include <CGAL/Nef_2/Object_index.h>
2526
#include <CGAL/Nef_2/iterator_tools.h>
2627
#undef CGAL_NEF_DEBUG
@@ -158,6 +159,12 @@ typedef typename HDS::Face_handle Face_handle;
158159
typedef typename HDS::Face_const_handle Face_const_handle;
159160
typedef typename HDS::Face_const_iterator Face_const_iterator;
160161

162+
typedef typename CGAL::Type_pack<Vertex_handle, Vertex_const_handle,
163+
Halfedge_handle, Halfedge_const_handle,
164+
Face_handle, Face_const_handle>
165+
Object;
166+
167+
typedef typename CGAL::Object_handle<Object> Object_handle;
161168

162169
/*{\Mtext Local types are handles, iterators and circulators of the
163170
following kind: |Vertex_const_handle|,

Nef_2/include/CGAL/Nef_2/PM_decorator.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ decorator to examine and modify a plane map. |\Mvar| inherits from
6969
typedef typename Base::Isolated_vertex_const_iterator Isolated_vertex_const_iterator;
7070
typedef typename Base::Point_const_iterator Point_const_iterator;
7171
typedef typename Base::Mark Mark;
72-
typedef typename Base::Point Point;
73-
typedef typename Base::GenPtr GenPtr;
72+
typedef typename Base::Point Point;
73+
typedef typename Base::GenPtr GenPtr;
74+
typedef typename Base::Object_handle Object_handle;
7475

7576
/*{\Mtext Local types are handles, iterators and circulators of the following
7677
kind: |Vertex_handle|, |Vertex_iterator|, |Halfedge_handle|,

Nef_2/include/CGAL/Nef_2/PM_point_locator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class PM_naive_point_locator : public PM_decorator_ {
104104
|Halfedge_const_handle|, |Halfedge_const_iterator|, |Face_const_handle|,
105105
|Face_const_iterator|.}*/
106106

107-
typedef CGAL::Object_handle Object_handle;
107+
typedef typename PM_decorator_::Object_handle Object_handle;
108108
/*{\Mtypemember a generic handle to an object of the underlying plane
109109
map. The kind of the object |(vertex, halfedge,face)| can be determined and
110110
the object assigned by the three functions:\\

0 commit comments

Comments
 (0)