GEOS
3.6.2
|
00001 /********************************************************************** 00002 * 00003 * GEOS - Geometry Engine Open Source 00004 * http://geos.osgeo.org 00005 * 00006 * Copyright (C) 2006 Refractions Research Inc. 00007 * 00008 * This is free software; you can redistribute and/or modify it under 00009 * the terms of the GNU Lesser General Public Licence as published 00010 * by the Free Software Foundation. 00011 * See the COPYING file for more information. 00012 * 00013 ********************************************************************** 00014 * 00015 * Last port: operation/linemerge/LineMergeDirectedEdge.java r378 (JTS-1.12) 00016 * 00017 **********************************************************************/ 00018 00019 #ifndef GEOS_OP_LINEMERGE_LINEMERGEDIRECTEDEDGE_H 00020 #define GEOS_OP_LINEMERGE_LINEMERGEDIRECTEDEDGE_H 00021 00022 #include <geos/export.h> 00023 00024 #include <geos/planargraph/DirectedEdge.h> // for inheritance 00025 00026 // Forward declarations 00027 namespace geos { 00028 namespace geom { 00029 class Coordinate; 00030 //class LineString; 00031 } 00032 namespace planargraph { 00033 class Node; 00034 } 00035 } 00036 00037 00038 namespace geos { 00039 namespace operation { // geos::operation 00040 namespace linemerge { // geos::operation::linemerge 00041 00047 class GEOS_DLL LineMergeDirectedEdge: public planargraph::DirectedEdge { 00048 public: 00062 LineMergeDirectedEdge(planargraph::Node *from, 00063 planargraph::Node *to, 00064 const geom::Coordinate& directionPt, 00065 bool edgeDirection); 00066 00072 LineMergeDirectedEdge* getNext(); 00073 }; 00074 00075 } // namespace geos::operation::linemerge 00076 } // namespace geos::operation 00077 } // namespace geos 00078 00079 #endif // GEOS_OP_LINEMERGE_LINEMERGEDIRECTEDEDGE_H