private QuadEdge findEdge() { Collection edges = subdiv.getEdges(); // assume there is an edge - otherwise will get an exception return (QuadEdge) edges.iterator().next(); }
/** * Gets the edges of the computed triangulation as a {@link MultiLineString}. * * @param geomFact the geometry factory to use to create the output * @return the edges of the triangulation */ public Geometry getEdges(GeometryFactory geomFact) { create(); return subdiv.getEdges(geomFact); }
/** * Gets the edges of the computed triangulation as a {@link MultiLineString}. * * @param geomFact the geometry factory to use to create the output * @return the edges of the triangulation */ public Geometry getEdges(GeometryFactory geomFact) { create(); return subdiv.getEdges(geomFact); }