BWAPI
|
00001 // Copyright (c) 1997-2002 Max-Planck-Institute Saarbruecken (Germany). 00002 // All rights reserved. 00003 // 00004 // This file is part of CGAL (www.cgal.org); you may redistribute it under 00005 // the terms of the Q Public License version 1.0. 00006 // See the file LICENSE.QPL distributed with CGAL. 00007 // 00008 // Licensees holding a valid commercial license may use this file in 00009 // accordance with the commercial license agreement provided with the software. 00010 // 00011 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00012 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00013 // 00014 // $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.5-branch/Nef_S2/include/CGAL/Nef_S2/SM_iteration.h $ 00015 // $Id: SM_iteration.h 28567 2006-02-16 14:30:13Z lsaboret $ 00016 // 00017 // 00018 // Author(s) : Michael Seel <seel@mpi-sb.mpg.de> 00019 // : Peter Hachenberger <hachenberger@mpi-sb.mpg.de> 00020 00021 #ifndef CGAL_SM_ITERATION_H 00022 #define CGAL_SM_ITERATION_H 00023 00024 #undef CGAL_forall_iterators 00025 #define CGAL_forall_iterators(x,S)\ 00026 for(x = (S).begin(); x != (S).end(); ++x) 00027 00028 #undef CGAL_forall_svertices 00029 #define CGAL_forall_svertices(x,SM)\ 00030 for(x = (SM).svertices_begin(); x != (SM).svertices_end(); ++x) 00031 00032 #undef CGAL_forall_shalfedges 00033 #define CGAL_forall_shalfedges(x,SM)\ 00034 for(x = (SM).shalfedges_begin(); x != (SM).shalfedges_end(); ++x) 00035 00036 #undef CGAL_forall_sedges 00037 #define CGAL_forall_sedges(x,SM)\ 00038 for(x = (SM).shalfedges_begin(); x != (SM).shalfedges_end(); ++(++x)) 00039 00040 #undef CGAL_forall_shalfloops 00041 #define CGAL_forall_shalfloops(x,SM)\ 00042 for(x = (SM).shalfloops_begin(); x != (SM).shalfloops_end(); ++x) 00043 00044 #undef CGAL_forall_sfaces 00045 #define CGAL_forall_sfaces(x,SM)\ 00046 for(x = (SM).sfaces_begin(); x != (SM).sfaces_end(); ++x) 00047 00048 #undef CGAL_forall_sface_cycles_of 00049 #define CGAL_forall_sface_cycles_of(x,F)\ 00050 for(x = (F)->sface_cycles_begin(); x != (F)->sface_cycles_end(); ++x) 00051 00052 #endif //CGAL_SM_ITERATION_H 00053