Closed GoogleCodeExporter closed 9 years ago
That's the problem of binding a template library to a language that does not
have them.
If it's a matter of efficient point location (and no need to expose the specific
API), you can simply change the typedef in SWIG_CGAL/Triangulation_2/typedefs.h
and
recompile.
from
{{{
typedef CGAL::Delaunay_triangulation_2<EPIC_Kernel> CGAL_DT2;
}}}
to
{{{
typedef CGAL::Triangulation_vertex_base_2<EPIC_Kernel> Vbb;
typedef CGAL::Triangulation_hierarchy_vertex_base_2<Vbb> Vb;
typedef CGAL::Triangulation_face_base_2<EPIC_Kernel> Fb;
typedef CGAL::Triangulation_data_structure_2<Vb,Fb> Tds;
typedef CGAL::Delaunay_triangulation_2<EPIC_Kernel,Tds> Dt_base_2;
typedef CGAL::Triangulation_hierarchy_2<Dt_base_2> CGAL_DT2;
}}}
Original comment by sloriot...@gmail.com
on 19 Jan 2012 at 9:58
Thx, indeed I just need efficient point location. Will try this.
Original comment by francois...@gmail.com
on 19 Jan 2012 at 11:31
Original comment by sloriot...@gmail.com
on 3 Apr 2012 at 7:04
Original issue reported on code.google.com by
francois...@gmail.com
on 18 Jan 2012 at 9:17