public class PointBuilder
extends java.lang.Object
Points from the nodes of an overlay graph.| Modifier and Type | Field and Description |
|---|---|
private GeometryFactory |
geometryFactory |
private OverlayOp |
op |
private java.util.List |
resultPointList |
| Constructor and Description |
|---|
PointBuilder(OverlayOp op,
GeometryFactory geometryFactory,
PointLocator ptLocator) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
build(int opCode)
Computes the Point geometries which will appear in the result,
given the specified overlay operation.
|
private void |
extractNonCoveredResultNodes(int opCode)
Determines nodes which are in the result, and creates
Points for them. |
private void |
filterCoveredNodeToPoint(Node n)
Converts non-covered nodes to Point objects and adds them to the result.
|
private OverlayOp op
private GeometryFactory geometryFactory
private java.util.List resultPointList
public PointBuilder(OverlayOp op, GeometryFactory geometryFactory, PointLocator ptLocator)
public java.util.List build(int opCode)
private void extractNonCoveredResultNodes(int opCode)
Points for them.
This method determines nodes which are candidates for the result via their
labelling and their graph topology.opCode - the overlay operationprivate void filterCoveredNodeToPoint(Node n)
n - the node to test