GEOS
3.3.9
|
00001 /********************************************************************** 00002 * $Id: OverlayNodeFactory.h 3273 2011-03-26 14:02:03Z 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 OverlayNodeFactory():geomgraph::NodeFactory() {} 00050 geomgraph::Node* createNode(const geom::Coordinate &coord) const; 00051 static const geomgraph::NodeFactory &instance(); 00052 }; 00053 00054 00055 } // namespace geos::operation::overlay 00056 } // namespace geos::operation 00057 } // namespace geos 00058 00059 #endif // ndef GEOS_OP_OVERLAY_OVERLAYNODEFACTORY_H 00060 00061 /********************************************************************** 00062 * $Log$ 00063 * Revision 1.1 2006/03/17 13:24:59 strk 00064 * 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). 00065 * 00066 **********************************************************************/ 00067