GEOS  3.3.3
RelateNode.h
1 /**********************************************************************
2  * $Id: RelateNode.h 2557 2009-06-08 09:30:55Z strk $
3  *
4  * GEOS - Geometry Engine Open Source
5  * http://geos.refractions.net
6  *
7  * Copyright (C) 2006 Refractions Research Inc.
8  *
9  * This is free software; you can redistribute and/or modify it under
10  * the terms of the GNU Lesser General Public Licence as published
11  * by the Free Software Foundation.
12  * See the COPYING file for more information.
13  *
14  **********************************************************************
15  *
16  * Last port: operation/relate/RelateNode.java rev. 1.11 (JTS-1.10)
17  *
18  **********************************************************************/
19 
20 #ifndef GEOS_OP_RELATE_RELATENODE_H
21 #define GEOS_OP_RELATE_RELATENODE_H
22 
23 #include <geos/export.h>
24 
25 #include <geos/geomgraph/Node.h> // for inheritance
26 
27 // Forward declarations
28 namespace geos {
29  namespace geom {
30  class IntersectionMatrix;
31  class Coordinate;
32  }
33  namespace geomgraph {
34  class EdgeEndStar;
35  }
36 }
37 
38 
39 namespace geos {
40 namespace operation { // geos::operation
41 namespace relate { // geos::operation::relate
42 
47 class GEOS_DLL RelateNode: public geomgraph::Node {
48 
49 public:
50 
52 
53  virtual ~RelateNode();
54 
55  void updateIMFromEdges(geom::IntersectionMatrix *im);
56 
57 protected:
58 
59  void computeIM(geom::IntersectionMatrix *im);
60 };
61 
62 
63 } // namespace geos:operation:relate
64 } // namespace geos:operation
65 } // namespace geos
66 
67 #endif // GEOS_OP_RELATE_RELATENODE_H
68 
69 /**********************************************************************
70  * $Log$
71  * Revision 1.1 2006/03/21 13:11:29 strk
72  * opRelate.h header split
73  *
74  **********************************************************************/
75