GEOS  3.3.3
OverlayNodeFactory.h
1 /**********************************************************************
2  * $Id: OverlayNodeFactory.h 3273 2011-03-26 14:02:03Z 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/overlay/OverlayNodeFactory.java rev. 1.11 (JTS-1.10)
17  *
18  **********************************************************************/
19 
20 #ifndef GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H
21 #define GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H
22 
23 #include <geos/export.h>
24 
25 #include <vector>
26 
27 #include <geos/geomgraph/NodeFactory.h> // for inheritance
28 
29 // Forward declarations
30 namespace geos {
31  namespace geom {
32  class Coordinate;
33  }
34  namespace geomgraph {
35  class Node;
36  }
37 }
38 
39 namespace geos {
40 namespace operation { // geos::operation
41 namespace overlay { // geos::operation::overlay
42 
47 class GEOS_DLL OverlayNodeFactory: public geomgraph::NodeFactory {
48 public:
49  OverlayNodeFactory():geomgraph::NodeFactory() {}
50  geomgraph::Node* createNode(const geom::Coordinate &coord) const;
51  static const geomgraph::NodeFactory &instance();
52 };
53 
54 
55 } // namespace geos::operation::overlay
56 } // namespace geos::operation
57 } // namespace geos
58 
59 #endif // ndef GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H
60 
61 /**********************************************************************
62  * $Log$
63  * Revision 1.1 2006/03/17 13:24:59 strk
64  * opOverlay.h header splitted. Reduced header inclusions in operation/overlay implementation files. ElevationMatrixFilter code moved from own file to ElevationMatrix.cpp (ideally a class-private).
65  *
66  **********************************************************************/
67