LineMergeDirectedEdge.h
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2006 Refractions Research 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/LineMergeDirectedEdge.java r378 (JTS-1.12)
*
**********************************************************************/
#pragma once
#include <geos/export.h>
#include <geos/planargraph/DirectedEdge.h> // for inheritance
// Forward declarations
namespace geos {
namespace geom {
class Coordinate;
//class LineString;
}
namespace planargraph {
class Node;
}
}
namespace geos {
namespace operation { // geos::operation
namespace linemerge { // geos::operation::linemerge
class GEOS_DLL LineMergeDirectedEdge: public planargraph::DirectedEdge {
public:
LineMergeDirectedEdge(planargraph::Node* from,
planargraph::Node* to,
const geom::Coordinate& directionPt,
bool edgeDirection);
LineMergeDirectedEdge* getNext(bool checkDirection = false);
};
} // namespace geos::operation::linemerge
} // namespace geos::operation
} // namespace geos
geos::geom::Coordinate
Coordinate is the lightweight class used to store coordinates.
Definition Coordinate.h:217
geos::operation::linemerge::LineMergeDirectedEdge::getNext
LineMergeDirectedEdge * getNext(bool checkDirection=false)
Returns the directed edge that starts at this directed edge's end point, or null if there are zero or...
geos::operation::linemerge::LineMergeDirectedEdge::LineMergeDirectedEdge
LineMergeDirectedEdge(planargraph::Node *from, planargraph::Node *to, const geom::Coordinate &directionPt, bool edgeDirection)
Constructs a LineMergeDirectedEdge connecting the from node to the to node.
geos::planargraph::DirectedEdge
Represents a directed edge in a PlanarGraph.
Definition planargraph/DirectedEdge.h:45
geos::planargraph::Node
A node in a PlanarGraph is a location where 0 or more Edge meet.
Definition planargraph/Node.h:44
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::planargraph
Contains classes to implement a planar graph data structure.
Definition namespaces.h:293
geos
Basic namespace for all GEOS functionalities.
Definition geos.h:38