/home/ann2.ext/paccaulf/projsem2/ContourActif/lib/enriched_items.h

Aller à la documentation de ce fichier.
00001 
00002 //                                                                       //
00003 //  Class: Enriched_items                                                //
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

Généré le Thu Jun 15 18:48:52 2006 pour Projet Image 2006 - Vincent Vidal, Florent Paccault - par  doxygen 1.4.7