use of com.revolsys.geometry.edgegraph.EdgeGraph in project com.revolsys.open by revolsys.
the class EdgeGraphTest method testNode.
public void testNode() throws Exception {
final EdgeGraph graph = build("MULTILINESTRING((0 0, 1 0), (0 0, 0 1), (0 0, -1 0))");
checkEdgeRing(graph, new PointDoubleXY(0, 0), new Point[] { new PointDoubleXY(1, 0), new PointDoubleXY(0, 1), new PointDoubleXY(-1, 0) });
checkEdge(graph, new PointDoubleXY(0, 0), new PointDoubleXY(1, 0));
}
Aggregations