This commit is contained in:
Frédéric Cazals 2006-04-06 12:25:24 +00:00
parent 5865ded27f
commit e9e545c594
1 changed files with 4 additions and 31 deletions

View File

@ -1,47 +1,20 @@
//visu, lib
#include <qapplication.h>
#include <qmainwindow.h>
#include "Observer.h"
#include "widget.h"
//visu, local
#include "SketchSample.h"
#include <CGAL/Cartesian.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/IO/Polyhedron_iostream.h>
#include <CGAL/IO/Polyhedron_geomview_ostream.h>
//geom, local
#include "visu_poly.h"
#include <iostream>
#include <fstream>
typedef CGAL::Cartesian<double> Kernel;
typedef Kernel::Point_3 Point;
typedef CGAL::Polyhedron_3<Kernel> Mesh;
typedef Kernel::FT FT;
typedef Kernel::Point_3 Point;
typedef Kernel::Vector_3 Vector;
typedef Mesh::Vertex_handle Vertex_handle;
typedef Mesh::Facet_handle Facet_handle;
typedef Mesh::Vertex Vertex;
typedef Mesh::Facet Facet;
typedef Mesh::Face_handle Face_handle;
typedef Mesh::Halfedge_handle Halfedge_handle;
typedef Mesh::Facet_iterator Facet_iterator;
typedef Mesh::Halfedge_around_vertex_circulator Halfedge_around_vertex_circulator;
typedef Mesh::Halfedge_iterator Halfedge_iterator;
typedef Mesh::Point_iterator Point_iterator;
typedef Mesh::Halfedge_around_facet_circulator Halfedge_around_facet_circulator;
typedef Mesh::Vertex_iterator Vertex_iterator;
typedef Mesh::Vertex_const_iterator Vertex_const_iterator;
typedef Mesh::Edge_iterator Edge_iterator ;
typedef Mesh::Halfedge_around_facet_const_circulator Halfedge_around_facet_const_circulator;
typedef CGAL::Inverse_index < Vertex_const_iterator > Vertex_index;
void parse_facet(Facet_handle f, const Vertex_index& vi)