00001
00002
00003
00004
00006
00007 #ifndef _ENRICHED_ITEMS_H
00008 #define _ENRICHED_ITEMS_H
00009
00010 #include <CGAL/Polyhedron_3.h>
00011
00012 #include "enriched_facet.h"
00013 #include "enriched_halfedge.h"
00014 #include "enriched_vertex.h"
00015
00026 struct Enriched_items : public CGAL::Polyhedron_items_3
00027 {
00033 template <class Refs, class Traits>
00034 struct Vertex_wrapper
00035 {
00036 typedef typename Traits::Point_3 Point;
00037 typedef typename Traits::Vector_3 Normal;
00038 typedef Enriched_vertex<Refs,
00039 CGAL::Tag_true,
00040 Point,
00041 Normal> Vertex;
00042 };
00043
00049 template <class Refs, class Traits>
00050 struct Face_wrapper
00051 {
00052 typedef typename Traits::Point_3 Point;
00053 typedef typename Traits::Vector_3 Normal;
00054 typedef Enriched_facet<Refs,
00055 CGAL::Tag_true,
00056 Point,
00057 Normal> Face;
00058 };
00059
00065 template <class Refs, class Traits>
00066 struct Halfedge_wrapper
00067 {
00068 typedef typename Traits::Vector_3 Normal;
00069 typedef Enriched_halfedge<Refs,
00070 CGAL::Tag_true,
00071 CGAL::Tag_true,
00072 CGAL::Tag_true,
00073 Normal> Halfedge;
00074 };
00075 };
00076
00077
00078 #endif