GEOS: LineMergeEdge.h Source File

GEOS 3.3.8

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

- File List

LineMergeEdge.h
1 /**********************************************************************
2 * $Id: LineMergeEdge.h 3309 2011-04-27 15:47:14Z strk $
3 *
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
6 *
7 * Copyright (C) 2005-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/linemerge/LineMergeEdge.java r378 (JTS-1.12)
18 *
19 **********************************************************************/
20
21 #ifndef GEOS_OP_LINEMERGE_LINEMERGEEDGE_H
22 #define GEOS_OP_LINEMERGE_LINEMERGEEDGE_H
23
24 #include <geos/export.h>
25
26 #include <geos/planargraph/Edge.h> // for inheritance
27
28 // Forward declarations
29 namespace geos {
30 namespace geom {
31 class LineString;
32 }
33 }
34
35
36 namespace geos {
37 namespace operation { // geos::operation
38 namespace linemerge { // geos::operation::linemerge
39
44 class GEOS_DLL LineMergeEdge: public planargraph::Edge {
45 private:
46 const geom::LineString *line;
47 public:
52 LineMergeEdge(const geom::LineString *newLine);
53
57 const geom::LineString* getLine() const;
58 };
59
60
61 } // namespace geos::operation::linemerge
62 } // namespace geos::operation
63 } // namespace geos
64
65 #endif // GEOS_OP_LINEMERGE_LINEMERGEEDGE_H
66
67 /**********************************************************************
68 * $Log$
69 * Revision 1.1 2006/03/22 10:13:53 strk
70 * opLinemerge.h split
71 *
72 **********************************************************************/