00001 /********************************************************************** 00002 * $Id: PolygonizeEdge.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 * 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 00018 #ifndef GEOS_OP_POLYGONIZE_POLYGONIZEEDGE_H 00019 #define GEOS_OP_POLYGONIZE_POLYGONIZEEDGE_H 00020 00021 #include <geos/planargraph/Edge.h> // for inheritance 00022 00023 // Forward declarations 00024 namespace geos { 00025 namespace geom { 00026 class LineString; 00027 } 00028 } 00029 00030 namespace geos { 00031 namespace operation { // geos::operation 00032 namespace polygonize { // geos::operation::polygonize 00033 00034 /* \brief 00035 * An edge of a polygonization graph. 00036 * 00037 * @version 1.4 00038 */ 00039 class PolygonizeEdge: public planargraph::Edge { 00040 private: 00041 const geom::LineString *line; 00042 public: 00043 PolygonizeEdge(const geom::LineString *newLine); 00044 const geom::LineString* getLine(); 00045 }; 00046 00047 } // namespace geos::operation::polygonize 00048 } // namespace geos::operation 00049 } // namespace geos 00050 00051 #endif // GEOS_OP_POLYGONIZE_POLYGONIZEEDGE_H 00052 00053 /********************************************************************** 00054 * $Log$ 00055 * Revision 1.1 2006/03/22 11:19:06 strk 00056 * opPolygonize.h headers split. 00057 * 00058 **********************************************************************/