Subject: CGAL users discussion list
List archive
- From: Zohar <>
- To:
- Subject: Re: [cgal-discuss] Polyhedron vertex_descriptor
- Date: Wed, 26 Feb 2014 05:32:49 -0800 (PST)
I never read the BGL. But I assume that it needs some concepts, and you
provided template instantiation for Polyhedron_3 that supply these concepts.
I have no idea how to methodically connect between BGL requirements and your
patches. Anyway doing some guess work, the following was enough for examples
4.7,4.8:
struct Surface : public CGAL::Polyhedron_3<Kernel,
CGAL::Polyhedron_items_with_id_3> {};
namespace boost {
template<>
struct graph_traits<Surface> : public
graph_traits<CGAL::Polyhedron_3<Kernel, CGAL::Polyhedron_items_with_id_3>
> {};
template<>
struct graph_traits<Surface const> : public
graph_traits<CGAL::Polyhedron_3<Kernel, CGAL::Polyhedron_items_with_id_3>
const> {};
template<class Tag>
struct property_map<Surface, Tag> : public
property_map<CGAL::Polyhedron_3<Kernel,
CGAL::Polyhedron_items_with_id_3>, Tag> {};
}
namespace CGAL {
template<>
struct halfedge_graph_traits<Surface> : public
halfedge_graph_traits<CGAL::Polyhedron_3<Kernel,
CGAL::Polyhedron_items_with_id_3> > {};
}
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Polyhedron-vertex-descriptor-tp4658859p4658868.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Polyhedron vertex_descriptor, Zohar, 02/26/2014
- Re: [cgal-discuss] Polyhedron vertex_descriptor, Sebastien Loriot (GeometryFactory), 02/26/2014
- Re: [cgal-discuss] Polyhedron vertex_descriptor, Zohar, 02/26/2014
- Re: [cgal-discuss] Polyhedron vertex_descriptor, Zohar, 02/26/2014
- Re: [cgal-discuss] Polyhedron vertex_descriptor, Sebastien Loriot (GeometryFactory), 02/26/2014
- Re: [cgal-discuss] Polyhedron vertex_descriptor, Zohar, 02/26/2014
- Re: [cgal-discuss] Polyhedron vertex_descriptor, Sebastien Loriot (GeometryFactory), 02/26/2014
- Re: [cgal-discuss] Polyhedron vertex_descriptor, Zohar, 02/26/2014
- Re: [cgal-discuss] Polyhedron vertex_descriptor, Zohar, 02/26/2014
- Re: [cgal-discuss] Polyhedron vertex_descriptor, Zohar, 02/26/2014
- Re: [cgal-discuss] Polyhedron vertex_descriptor, Sebastien Loriot (GeometryFactory), 02/26/2014
Archive powered by MHonArc 2.6.18.