GEOS  3.3.3
RelateNodeFactory.h
1 /**********************************************************************
2  * $Id: RelateNodeFactory.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/RelateNodeFactory.java rev. 1.11 (JTS-1.10)
17  *
18  **********************************************************************/
19 
20 #ifndef GEOS_OP_RELATE_RELATENODEFACTORY_H
21 #define GEOS_OP_RELATE_RELATENODEFACTORY_H
22 
23 #include <geos/export.h>
24 
25 #include <geos/geomgraph/NodeFactory.h> // for RelateNodeFactory inheritance
26 
27 // Forward declarations
28 namespace geos {
29  namespace geom {
30  class Coordinate;
31  }
32  namespace geomgraph {
33  class Node;
34  }
35 }
36 
37 
38 namespace geos {
39 namespace operation { // geos::operation
40 namespace relate { // geos::operation::relate
41 
45 class GEOS_DLL RelateNodeFactory: public geomgraph::NodeFactory {
46 public:
47  geomgraph::Node* createNode(const geom::Coordinate &coord) const;
48  static const geomgraph::NodeFactory &instance();
49 private:
50  RelateNodeFactory() {};
51 };
52 
53 
54 } // namespace geos:operation:relate
55 } // namespace geos:operation
56 } // namespace geos
57 
58 #endif // GEOS_OP_RELATE_RELATENODEFACTORY_H
59 
60 /**********************************************************************
61  * $Log$
62  * Revision 1.1 2006/03/21 13:11:29 strk
63  * opRelate.h header split
64  *
65  **********************************************************************/
66