00001 /********************************************************************** 00002 * $Id: LineMergeDirectedEdge.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/LineMergeDirectedEdge.java rev. 1.5 (JTS-1.10) 00017 * 00018 **********************************************************************/ 00019 00020 #ifndef GEOS_OP_LINEMERGE_LINEMERGEDIRECTEDEDGE_H 00021 #define GEOS_OP_LINEMERGE_LINEMERGEDIRECTEDEDGE_H 00022 00023 #include <geos/export.h> 00024 00025 #include <geos/planargraph/DirectedEdge.h> // for inheritance 00026 00027 // Forward declarations 00028 namespace geos { 00029 namespace geom { 00030 class Coordinate; 00031 //class LineString; 00032 } 00033 namespace planargraph { 00034 class Node; 00035 } 00036 } 00037 00038 00039 namespace geos { 00040 namespace operation { // geos::operation 00041 namespace linemerge { // geos::operation::linemerge 00042 00048 class GEOS_DLL LineMergeDirectedEdge: public planargraph::DirectedEdge { 00049 public: 00063 LineMergeDirectedEdge(planargraph::Node *from, 00064 planargraph::Node *to, 00065 const geom::Coordinate& directionPt, 00066 bool edgeDirection); 00067 00073 LineMergeDirectedEdge* getNext(); 00074 }; 00075 00076 } // namespace geos::operation::linemerge 00077 } // namespace geos::operation 00078 } // namespace geos 00079 00080 #endif // GEOS_OP_LINEMERGE_LINEMERGEDIRECTEDEDGE_H 00081 00082 /********************************************************************** 00083 * $Log$ 00084 * Revision 1.1 2006/03/22 10:13:53 strk 00085 * opLinemerge.h split 00086 * 00087 **********************************************************************/