GEOS
3.3.9
|
00001 /********************************************************************** 00002 * $Id: LineMergeEdge.h 3309 2011-04-27 15:47:14Z strk $ 00003 * 00004 * GEOS - Geometry Engine Open Source 00005 * http://geos.refractions.net 00006 * 00007 * Copyright (C) 2005-2006 Refractions Research Inc. 00008 * Copyright (C) 2001-2002 Vivid Solutions Inc. 00009 * 00010 * This is free software; you can redistribute and/or modify it under 00011 * the terms of the GNU Lesser General Public Licence as published 00012 * by the Free Software Foundation. 00013 * See the COPYING file for more information. 00014 * 00015 ********************************************************************** 00016 * 00017 * Last port: operation/linemerge/LineMergeEdge.java r378 (JTS-1.12) 00018 * 00019 **********************************************************************/ 00020 00021 #ifndef GEOS_OP_LINEMERGE_LINEMERGEEDGE_H 00022 #define GEOS_OP_LINEMERGE_LINEMERGEEDGE_H 00023 00024 #include <geos/export.h> 00025 00026 #include <geos/planargraph/Edge.h> // for inheritance 00027 00028 // Forward declarations 00029 namespace geos { 00030 namespace geom { 00031 class LineString; 00032 } 00033 } 00034 00035 00036 namespace geos { 00037 namespace operation { // geos::operation 00038 namespace linemerge { // geos::operation::linemerge 00039 00044 class GEOS_DLL LineMergeEdge: public planargraph::Edge { 00045 private: 00046 const geom::LineString *line; 00047 public: 00052 LineMergeEdge(const geom::LineString *newLine); 00053 00057 const geom::LineString* getLine() const; 00058 }; 00059 00060 00061 } // namespace geos::operation::linemerge 00062 } // namespace geos::operation 00063 } // namespace geos 00064 00065 #endif // GEOS_OP_LINEMERGE_LINEMERGEEDGE_H 00066 00067 /********************************************************************** 00068 * $Log$ 00069 * Revision 1.1 2006/03/22 10:13:53 strk 00070 * opLinemerge.h split 00071 * 00072 **********************************************************************/