00001 /********************************************************************** 00002 * $Id: OverlayNodeFactory.h 2564 2009-06-08 16:09:51Z strk $ 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 * Last port: operation/overlay/OverlayNodeFactory.java rev. 1.11 (JTS-1.10) 00017 * 00018 **********************************************************************/ 00019 00020 #ifndef GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H 00021 #define GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H 00022 00023 #include <geos/export.h> 00024 00025 #include <vector> 00026 00027 #include <geos/geomgraph/NodeFactory.h> // for inheritance 00028 00029 // Forward declarations 00030 namespace geos { 00031 namespace geom { 00032 class Coordinate; 00033 } 00034 namespace geomgraph { 00035 class Node; 00036 } 00037 } 00038 00039 namespace geos { 00040 namespace operation { // geos::operation 00041 namespace overlay { // geos::operation::overlay 00042 00047 class GEOS_DLL OverlayNodeFactory: public geomgraph::NodeFactory { 00048 public: 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 00059 00060 /********************************************************************** 00061 * $Log$ 00062 * Revision 1.1 2006/03/17 13:24:59 strk 00063 * 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). 00064 * 00065 **********************************************************************/ 00066