GEOS
3.6.2
|
00001 /********************************************************************** 00002 * 00003 * GEOS - Geometry Engine Open Source 00004 * http://geos.osgeo.org 00005 * 00006 * Copyright (C) 2006 Refractions Research Inc. 00007 * 00008 * This is free software; you can redistribute and/or modify it under 00009 * the terms of the GNU Lesser General Public Licence as published 00010 * by the Free Software Foundation. 00011 * See the COPYING file for more information. 00012 * 00013 ********************************************************************** 00014 * 00015 * Last port: operation/relate/RelateNodeFactory.java rev. 1.11 (JTS-1.10) 00016 * 00017 **********************************************************************/ 00018 00019 #ifndef GEOS_OP_RELATE_RELATENODEFACTORY_H 00020 #define GEOS_OP_RELATE_RELATENODEFACTORY_H 00021 00022 #include <geos/export.h> 00023 00024 #include <geos/geomgraph/NodeFactory.h> // for RelateNodeFactory inheritance 00025 00026 // Forward declarations 00027 namespace geos { 00028 namespace geom { 00029 class Coordinate; 00030 } 00031 namespace geomgraph { 00032 class Node; 00033 } 00034 } 00035 00036 00037 namespace geos { 00038 namespace operation { // geos::operation 00039 namespace relate { // geos::operation::relate 00040 00044 class GEOS_DLL RelateNodeFactory: public geomgraph::NodeFactory { 00045 public: 00046 geomgraph::Node* createNode(const geom::Coordinate &coord) const; 00047 static const geomgraph::NodeFactory &instance(); 00048 private: 00049 RelateNodeFactory() {} 00050 }; 00051 00052 00053 } // namespace geos:operation:relate 00054 } // namespace geos:operation 00055 } // namespace geos 00056 00057 #endif // GEOS_OP_RELATE_RELATENODEFACTORY_H