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

- File List

# PolygonizeEdge.h

    00001 /**********************************************************************
    00002  * $Id: PolygonizeEdge.h 2922 2010-02-22 21:41:13Z 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         // Externally owned
    00048         const geom::LineString *line;
    00049 public:
    00050
    00051         // Keep the given pointer (won't do anything to it)
    00052         PolygonizeEdge(const geom::LineString *newLine);
    00053
    00054         // Just return what it was given initially
    00055         const geom::LineString* getLine();
    00056 };
    00057
    00058 } // namespace geos::operation::polygonize
    00059 } // namespace geos::operation
    00060 } // namespace geos
    00061
    00062 #endif // GEOS_OP_POLYGONIZE_POLYGONIZEEDGE_H
    00063
    00064 /**********************************************************************
    00065  * $Log$
    00066  * Revision 1.1  2006/03/22 11:19:06  strk
    00067  * opPolygonize.h headers split.
    00068  *
    00069  **********************************************************************/