Debian Codegraph @

src/triangulation/triangulation.h

raw symbols SCIP
1 /***************************************************************************
2 triangulation.h - description
3 -------------------
4 begin : july 30th, 2006
5 copyright : (C) 2007 by Fredreic RODRIGO
6 email : f.rodrigo free.fr
7
8 $Id: triangulation.h 373 2008-10-11 21:32:54Z neoneurone $
9 ***************************************************************************/
10
11 /***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * any later version. *
17 * *
18 ***************************************************************************/
19
20 #ifndef _OPENCITY_TRIANGULATION_H_
21 #define _OPENCITY_TRIANGULATION_H_ 1
22
23 #include "geometry.h"
24
25 #ifndef uint
26 typedef unsigned int uint;
27 #endif
28
29 namespace Triangulation
30 {
31
32 /** Triangulation abstract class
33 */
34 class Triangulation {
35 public:
36
37 Triangulation() {}
38 virtual ~Triangulation() {}
39
40 //========================================================================
41 /** Compute triangulation on vertex, return a Triangle[nVertex-2]
42 */
43 virtual Triangle*
44 process(
45 const uint nVertex,
46 const Vertex* vertex ) const = 0;
47
48 };
49
50 }
51
52 #endif