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/overlay/OverlayNodeFactory.java rev. 1.11 (JTS-1.10) 00016 * 00017 **********************************************************************/ 00018 00019 #ifndef GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H 00020 #define GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H 00021 00022 #include <geos/export.h> 00023 00024 #include <vector> 00025 00026 #include <geos/geomgraph/NodeFactory.h> // for inheritance 00027 00028 // Forward declarations 00029 namespace geos { 00030 namespace geom { 00031 class Coordinate; 00032 } 00033 namespace geomgraph { 00034 class Node; 00035 } 00036 } 00037 00038 namespace geos { 00039 namespace operation { // geos::operation 00040 namespace overlay { // geos::operation::overlay 00041 00046 class GEOS_DLL OverlayNodeFactory: public geomgraph::NodeFactory { 00047 public: 00048 OverlayNodeFactory():geomgraph::NodeFactory() {} 00049 geomgraph::Node* createNode(const geom::Coordinate &coord) const; 00050 static const geomgraph::NodeFactory &instance(); 00051 }; 00052 00053 00054 } // namespace geos::operation::overlay 00055 } // namespace geos::operation 00056 } // namespace geos 00057 00058 #endif // ndef GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H