00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef GEOS_GEOMGRAPH_NODEFACTORY_H
00022 #define GEOS_GEOMGRAPH_NODEFACTORY_H
00023
00024 #include <geos/export.h>
00025 #include <geos/inline.h>
00026
00027
00028 namespace geos {
00029 namespace geom {
00030 class Coordinate;
00031 }
00032 namespace geomgraph {
00033 class Node;
00034 }
00035 }
00036
00037 namespace geos {
00038 namespace geomgraph {
00039
00040 class GEOS_DLL NodeFactory {
00041 public:
00042 virtual Node* createNode(const geom::Coordinate &coord) const;
00043 static const NodeFactory &instance();
00044 virtual ~NodeFactory() {}
00045 protected:
00046 NodeFactory() {}
00047 };
00048
00049
00050 }
00051 }
00052
00053 #endif // ifndef GEOS_GEOMGRAPH_NODEFACTORY_H