00001 /********************************************************************** 00002 * $Id: LineMergeEdge.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_LINEMERGE_LINEMERGEEDGE_H 00017 #define GEOS_OP_LINEMERGE_LINEMERGEEDGE_H 00018 00019 #include <geos/planargraph/Edge.h> // for inheritance 00020 00021 // Forward declarations 00022 namespace geos { 00023 namespace geom { 00024 class LineString; 00025 } 00026 } 00027 00028 00029 namespace geos { 00030 namespace operation { // geos::operation 00031 namespace linemerge { // geos::operation::linemerge 00032 00037 class LineMergeEdge: public planargraph::Edge { 00038 private: 00039 const geom::LineString *line; 00040 public: 00045 LineMergeEdge(const geom::LineString *newLine); 00046 00050 const geom::LineString* getLine() const; 00051 }; 00052 00053 00054 } // namespace geos::operation::linemerge 00055 } // namespace geos::operation 00056 } // namespace geos 00057 00058 #endif // GEOS_OP_LINEMERGE_LINEMERGEEDGE_H 00059 00060 /********************************************************************** 00061 * $Log$ 00062 * Revision 1.1 2006/03/22 10:13:53 strk 00063 * opLinemerge.h split 00064 * 00065 **********************************************************************/