GEOS
3.12.0
include
geos
operation
polygonize
PolygonizeEdge.h
1
/**********************************************************************
2
*
3
* GEOS - Geometry Engine Open Source
4
* http://geos.osgeo.org
5
*
6
* Copyright (C) 2006 Refractions Research Inc.
7
* Copyright (C) 2001-2002 Vivid Solutions Inc.
8
*
9
* This is free software; you can redistribute and/or modify it under
10
* the terms of the GNU Lesser General Public Licence as published
11
* by the Free Software Foundation.
12
* See the COPYING file for more information.
13
*
14
**********************************************************************
15
*
16
* Last port: operation/polygonize/PolygonizeEdge.java rev. 1.3 (JTS-1.10)
17
*
18
**********************************************************************/
19
20
#pragma once
21
22
#include <geos/export.h>
23
24
#include <geos/planargraph/Edge.h>
// for inheritance
25
26
// Forward declarations
27
namespace
geos
{
28
namespace
geom {
29
class
LineString;
30
}
31
}
32
33
namespace
geos
{
34
namespace
operation {
// geos::operation
35
namespace
polygonize {
// geos::operation::polygonize
36
42
class
GEOS_DLL
PolygonizeEdge
:
public
planargraph::Edge
{
43
private
:
44
// Externally owned
45
const
geom::LineString
* line;
46
public
:
47
48
// Keep the given pointer (won't do anything to it)
49
PolygonizeEdge
(
const
geom::LineString
* newLine);
50
51
// Just return what it was given initially
52
const
geom::LineString
* getLine();
53
};
54
55
}
// namespace geos::operation::polygonize
56
}
// namespace geos::operation
57
}
// namespace geos
58
geos
Basic namespace for all GEOS functionalities.
Definition:
Angle.h:25
geos::operation::polygonize::PolygonizeEdge
An edge of a polygonization graph.
Definition:
PolygonizeEdge.h:42
geos::planargraph::Edge
Represents an undirected edge of a PlanarGraph.
Definition:
planargraph/Edge.h:54
geos::geom::LineString
Definition:
LineString.h:65
Generated by
1.8.20