Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

ObjFile_inserter.h

00001 // -*- C++ -*-
00002 
00003 #include "ObjFile.h"
00004 #include <CGAL/Polyhedron_incremental_builder_3.h>
00005 
00006 
00007 // GRR! Both volume_io and gmp insist on defining these two macros
00008 #undef ABS
00009 #undef ALLOC
00010 
00011 extern "C" {
00012 #  include <bicpl.h>
00013 }
00014 
00015 
00016 namespace MNI {
00017     namespace ObjFile_inserter {
00018 
00019 
00022 class Polygons : public CGAL::Modifier_base<HDS>
00023 {
00024 public:
00025     const polygons_struct& poly;
00026 
00027     Polygons( const polygons_struct& p ) : poly(p) {};
00028     void operator() ( HDS& hds );
00029 };
00030 
00031 
00034 class Quadmesh : public CGAL::Modifier_base<HDS>
00035 {
00036 public:
00037     const quadmesh_struct& qmesh;
00038     bool split_patches;
00039 
00040     Quadmesh( const quadmesh_struct& q, bool split )
00041         : qmesh(q), split_patches(split) {};
00042     void operator() ( HDS& hds );
00043 };
00044 
00045 
00046 }
00047 }
00048 

Generated on Fri Oct 26 23:38:10 2001 for bicobj-intersection by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001