1 /**********************************************************************
4 * GEOS - Geometry Engine Open Source
5 * http://geos.refractions.net
7 * Copyright (C) 2005-2006 Refractions Research Inc.
8 * Copyright (C) 2001-2002 Vivid Solutions Inc.
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.
15 **********************************************************************
17 * Last port: operation/linemerge/LineMergeEdge.java r378 (JTS-1.12)
19 **********************************************************************/
21 #ifndef GEOS_OP_LINEMERGE_LINEMERGEEDGE_H
22 #define GEOS_OP_LINEMERGE_LINEMERGEEDGE_H
24 #include <geos/export.h>
26 #include <geos/planargraph/Edge.h> // for inheritance
28 // Forward declarations
37 namespace operation
{ // geos::operation
38 namespace linemerge
{ // geos::operation::linemerge
41 * An edge of a LineMergeGraph. The <code>marked</code> field indicates
42 * whether this Edge has been logically deleted from the graph.
44 class GEOS_DLL LineMergeEdge
: public planargraph::Edge
{
46 const geom::LineString
*line
;
49 * Constructs a LineMergeEdge with vertices given by the specified
52 LineMergeEdge(const geom::LineString
*newLine
);
55 * Returns the LineString specifying the vertices of this edge.
57 const geom::LineString
* getLine() const;
61 } // namespace geos::operation::linemerge
62 } // namespace geos::operation
65 #endif // GEOS_OP_LINEMERGE_LINEMERGEEDGE_H
67 /**********************************************************************
69 * Revision 1.1 2006/03/22 10:13:53 strk
72 **********************************************************************/