LineMergeEdge.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2005-2006 Refractions Research Inc.
* Copyright (C) 2001-2002 Vivid Solutions Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the Free Software Foundation.
* See the COPYING file for more information.
*
**********************************************************************
*
* Last port: operation/linemerge/LineMergeEdge.java r378 (JTS-1.12)
*
**********************************************************************/
#pragma once
#include <geos/export.h>
#include <geos/planargraph/Edge.h> // for inheritance
// Forward declarations
namespace geos {
namespace geom {
class LineString;
}
}
namespace geos {
namespace operation { // geos::operation
namespace linemerge { // geos::operation::linemerge
class GEOS_DLL LineMergeEdge: public planargraph::Edge {
private:
const geom::LineString* line;
public:
LineMergeEdge(const geom::LineString* newLine);
const geom::LineString* getLine() const;
};
} // namespace geos::operation::linemerge
} // namespace geos::operation
} // namespace geos
geos::geom::LineString
Definition LineString.h:66
geos::operation::linemerge::LineMergeEdge::getLine
const geom::LineString * getLine() const
geos::operation::linemerge::LineMergeEdge::LineMergeEdge
LineMergeEdge(const geom::LineString *newLine)
geos::planargraph::Edge
Represents an undirected edge of a PlanarGraph.
Definition planargraph/Edge.h:54
geos::geom
Definition Angle.h:26
geos::operation::linemerge
Line merging package.
Definition namespaces.h:192
geos::operation
Provides classes for implementing operations on geometries.
Definition CleanCoverage.h:34
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38