00001 /********************************************************************** 00002 * $Id: LineMergeDirectedEdge.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_LINEMERGEDIRECTEDEDGE_H 00017 #define GEOS_OP_LINEMERGE_LINEMERGEDIRECTEDEDGE_H 00018 00019 #include <geos/planargraph/DirectedEdge.h> // for inheritance 00020 00021 // Forward declarations 00022 namespace geos { 00023 namespace geom { 00024 class Coordinate; 00025 //class LineString; 00026 } 00027 namespace planargraph { 00028 class Node; 00029 } 00030 } 00031 00032 00033 namespace geos { 00034 namespace operation { // geos::operation 00035 namespace linemerge { // geos::operation::linemerge 00036 00042 class LineMergeDirectedEdge: public planargraph::DirectedEdge { 00043 public: 00057 LineMergeDirectedEdge(planargraph::Node *from, 00058 planargraph::Node *to, 00059 const geom::Coordinate& directionPt, 00060 bool edgeDirection); 00061 00067 LineMergeDirectedEdge* getNext(); 00068 }; 00069 00070 } // namespace geos::operation::linemerge 00071 } // namespace geos::operation 00072 } // namespace geos 00073 00074 #endif // GEOS_OP_LINEMERGE_LINEMERGEDIRECTEDEDGE_H 00075 00076 /********************************************************************** 00077 * $Log$ 00078 * Revision 1.1 2006/03/22 10:13:53 strk 00079 * opLinemerge.h split 00080 * 00081 **********************************************************************/