GEOS 3.3.8

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

- File List

PolygonizeEdge.h
1 /**********************************************************************
2 * $Id: PolygonizeEdge.h 2922 2010-02-22 21:41:13Z strk $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2006 Refractions Research Inc.
8 * Copyright (C) 2001-2002 Vivid Solutions Inc.
9 *
10 * This is free software; you can redistribute and/or modify it under
11 * the terms of the GNU Lesser General Public Licence as published
12 * by the Free Software Foundation.
13 * See the COPYING file for more information.
14 *
15 **********************************************************************
16 *
17 * Last port: operation/polygonize/PolygonizeEdge.java rev. 1.3 (JTS-1.10)
18 *
19 **********************************************************************/
20
21
22 #ifndef GEOS_OP_POLYGONIZE_POLYGONIZEEDGE_H
23 #define GEOS_OP_POLYGONIZE_POLYGONIZEEDGE_H
24
25 #include <geos/export.h>
26
27 #include <geos/planargraph/Edge.h> // for inheritance
28
29 // Forward declarations
30 namespace geos {
31 namespace geom {
32 class LineString;
33 }
34 }
35
36 namespace geos {
37 namespace operation { // geos::operation
38 namespace polygonize { // geos::operation::polygonize
39
40 /* \brief
41 * An edge of a polygonization graph.
42 *
43 * @version 1.4
44 */
45 class GEOS_DLL PolygonizeEdge: public planargraph::Edge {
46 private:
47 // Externally owned
48 const geom::LineString *line;
49 public:
50
51 // Keep the given pointer (won't do anything to it)
52 PolygonizeEdge(const geom::LineString *newLine);
53
54 // Just return what it was given initially
55 const geom::LineString* getLine();
56 };
57
58 } // namespace geos::operation::polygonize
59 } // namespace geos::operation
60 } // namespace geos
61
62 #endif // GEOS_OP_POLYGONIZE_POLYGONIZEEDGE_H
63
64 /**********************************************************************
65 * $Log$
66 * Revision 1.1 2006/03/22 11:19:06 strk
67 * opPolygonize.h headers split.
68 *
69 **********************************************************************/