00001 /*************************************************************************** 00002 triangulation.h - description 00003 ------------------- 00004 begin : july 30th, 2006 00005 copyright : (C) 2006 by Fredreic RODRIGO 00006 email : f.rodrigo free.fr 00007 00008 $Id: map.h 20 2006-07-16 10:28:39Z neoneurone $ 00009 ***************************************************************************/ 00010 00011 /*************************************************************************** 00012 * * 00013 * This program is free software; you can redistribute it and/or modify * 00014 * it under the terms of the GNU General Public License as published by * 00015 * the Free Software Foundation; either version 2 of the License, or * 00016 * any later version. * 00017 * * 00018 ***************************************************************************/ 00019 00020 #ifndef _OPENCITY_TRIANGULATION_H_ 00021 #define _OPENCITY_TRIANGULATION_H_ 1 00022 00023 #include "geometry.h" 00024 00025 #ifndef uint 00026 typedef unsigned int uint; 00027 #endif 00028 00029 namespace Triangulation 00030 { 00031 00034 class Triangulation { 00035 public: 00036 00037 Triangulation() {}; 00038 virtual ~Triangulation() {}; 00039 00040 //======================================================================== 00043 virtual Triangle* 00044 process( 00045 const uint nVertex, 00046 const Vertex* vertex ) const = 0; 00047 00048 }; 00049 00050 } 00051 00052 #endif