com.vividsolutions.jts.operation.overlay
Class LineBuilder
java.lang.Object
com.vividsolutions.jts.operation.overlay.LineBuilder
- public class LineBuilder
- extends java.lang.Object
Forms JTS LineStrings out of a the graph of DirectedEdge
s
created by an OverlayOp
.
- Version:
- 1.4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineBuilder
public LineBuilder(OverlayOp op,
GeometryFactory geometryFactory,
PointLocator ptLocator)
build
public java.util.List build(int opCode)
- Returns:
- a list of the LineStrings in the result of the specified overlay operation
collectLineEdge
public void collectLineEdge(DirectedEdge de,
int opCode,
java.util.List edges)
collectBoundaryTouchEdge
public void collectBoundaryTouchEdge(DirectedEdge de,
int opCode,
java.util.List edges)
- Collect edges from Area inputs which should be in the result but
which have not been included in a result area.
This happens ONLY:
- during an intersection when the boundaries of two
areas touch in a line segment
- OR as a result of a dimensional collapse.