GEOS 3.11.1
|
Forms JTS LineStrings out of a the graph of geomgraph::DirectedEdge created by an OverlayOp. More...
#include <LineBuilder.h>
Public Member Functions | |
LineBuilder (OverlayOp *newOp, const geom::GeometryFactory *newGeometryFactory, algorithm::PointLocator *newPtLocator) | |
std::vector< geom::LineString * > * | build (OverlayOp::OpCode opCode) |
void | collectLineEdge (geomgraph::DirectedEdge *de, OverlayOp::OpCode opCode, std::vector< geomgraph::Edge * > *edges) |
Forms JTS LineStrings out of a the graph of geomgraph::DirectedEdge created by an OverlayOp.
std::vector< geom::LineString * > * geos::operation::overlay::LineBuilder::build | ( | OverlayOp::OpCode | opCode | ) |
void geos::operation::overlay::LineBuilder::collectLineEdge | ( | geomgraph::DirectedEdge * | de, |
OverlayOp::OpCode | opCode, | ||
std::vector< geomgraph::Edge * > * | edges | ||
) |
Collect line edges which are in the result.
Line edges are in the result if they are not part of an area boundary, if they are in the result of the overlay operation, and if they are not covered by a result area.
de | the directed edge to test. |
opCode | the overlap operation |
edges | the list of included line edges. |