00001 /********************************************************************** 00002 * $Id: OverlayNodeFactory.h 1820 2006-09-06 16:54:23Z mloskot $ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2006 Refractions Research Inc. 00008 * 00009 * This is free software; you can redistribute and/or modify it under 00010 * the terms of the GNU Lesser General Public Licence as published 00011 * by the Free Software Foundation. 00012 * See the COPYING file for more information. 00013 * 00014 **********************************************************************/ 00015 00016 #ifndef GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H 00017 #define GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H 00018 00019 #include <vector> 00020 00021 #include <geos/geomgraph/NodeFactory.h> // for inheritance 00022 00023 // Forward declarations 00024 namespace geos { 00025 namespace geom { 00026 class Coordinate; 00027 } 00028 namespace geomgraph { 00029 class Node; 00030 } 00031 } 00032 00033 namespace geos { 00034 namespace operation { // geos::operation 00035 namespace overlay { // geos::operation::overlay 00036 00041 class OverlayNodeFactory: public geomgraph::NodeFactory { 00042 public: 00043 geomgraph::Node* createNode(const geom::Coordinate &coord) const; 00044 static const geomgraph::NodeFactory &instance(); 00045 }; 00046 00047 00048 } // namespace geos::operation::overlay 00049 } // namespace geos::operation 00050 } // namespace geos 00051 00052 #endif // ndef GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H 00053 00054 /********************************************************************** 00055 * $Log$ 00056 * Revision 1.1 2006/03/17 13:24:59 strk 00057 * 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). 00058 * 00059 **********************************************************************/ 00060