GEOS 3.4.2

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

RelateNodeFactory.h
1 /**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2006 Refractions Research Inc.
7 *
8 * This is free software; you can redistribute and/or modify it under
9 * the terms of the GNU Lesser General Public Licence as published
10 * by the Free Software Foundation.
11 * See the COPYING file for more information.
12 *
13 **********************************************************************
14 *
15 * Last port: operation/relate/RelateNodeFactory.java rev. 1.11 (JTS-1.10)
16 *
17 **********************************************************************/
18
19 #ifndef GEOS_OP_RELATE_RELATENODEFACTORY_H
20 #define GEOS_OP_RELATE_RELATENODEFACTORY_H
21
22 #include <geos/export.h>
23
24 #include <geos/geomgraph/NodeFactory.h> // for RelateNodeFactory inheritance
25
26 // Forward declarations
27 namespace geos {
28 namespace geom {
29 class Coordinate;
30 }
31 namespace geomgraph {
32 class Node;
33 }
34 }
35
36
37 namespace geos {
38 namespace operation { // geos::operation
39 namespace relate { // geos::operation::relate
40
44 class GEOS_DLL RelateNodeFactory: public geomgraph::NodeFactory {
45 public:
46 geomgraph::Node* createNode(const geom::Coordinate &coord) const;
47 static const geomgraph::NodeFactory &instance();
48 private:
49 RelateNodeFactory() {}
50 };
51
52
53 } // namespace geos:operation:relate
54 } // namespace geos:operation
55 } // namespace geos
56
57 #endif // GEOS_OP_RELATE_RELATENODEFACTORY_H