00001 /********************************************************************** 00002 * $Id: LineMergeEdge.h 2562 2009-06-08 15:28:27Z 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/linemerge/LineMergeEdge.java rev. 1.4 (JTS-1.10) 00017 * 00018 **********************************************************************/ 00019 00020 #ifndef GEOS_OP_LINEMERGE_LINEMERGEEDGE_H 00021 #define GEOS_OP_LINEMERGE_LINEMERGEEDGE_H 00022 00023 #include <geos/export.h> 00024 00025 #include <geos/planargraph/Edge.h> // for inheritance 00026 00027 // Forward declarations 00028 namespace geos { 00029 namespace geom { 00030 class LineString; 00031 } 00032 } 00033 00034 00035 namespace geos { 00036 namespace operation { // geos::operation 00037 namespace linemerge { // geos::operation::linemerge 00038 00043 class GEOS_DLL LineMergeEdge: public planargraph::Edge { 00044 private: 00045 const geom::LineString *line; 00046 public: 00051 LineMergeEdge(const geom::LineString *newLine); 00052 00056 const geom::LineString* getLine() const; 00057 }; 00058 00059 00060 } // namespace geos::operation::linemerge 00061 } // namespace geos::operation 00062 } // namespace geos 00063 00064 #endif // GEOS_OP_LINEMERGE_LINEMERGEEDGE_H 00065 00066 /********************************************************************** 00067 * $Log$ 00068 * Revision 1.1 2006/03/22 10:13:53 strk 00069 * opLinemerge.h split 00070 * 00071 **********************************************************************/