GEOS: PolygonizeEdge.h Source File

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

# PolygonizeEdge.h

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