Class EdgeCollapse
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.graph.algo.EdgeCollapse
-
public class EdgeCollapse extends Object
- Author:
- julien Gaffuri
-
-
Constructor Summary
Constructors Constructor Description EdgeCollapse()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.locationtech.jts.geom.Coordinate
collapseEdge(Edge e)
static Collection<org.locationtech.jts.geom.LineString>
collapseTooShortEdges(Graph g, double d, boolean startWithShortestEdge)
static Collection<org.locationtech.jts.geom.LineString>
collapseTooShortEdges(Collection<org.locationtech.jts.geom.LineString> lines, double d, boolean startWithShortestEdge, boolean planarGraph)
static Edge
findShortestEdge(Collection<Edge> es)
static Edge
findShortestEdge(Collection<Edge> es, double d)
static Edge
findTooShortEdge(Collection<Edge> es, double d)
-
-
-
Method Detail
-
collapseEdge
public static org.locationtech.jts.geom.Coordinate collapseEdge(Edge e)
-
findTooShortEdge
public static Edge findTooShortEdge(Collection<Edge> es, double d)
-
findShortestEdge
public static Edge findShortestEdge(Collection<Edge> es)
-
findShortestEdge
public static Edge findShortestEdge(Collection<Edge> es, double d)
-
collapseTooShortEdges
public static Collection<org.locationtech.jts.geom.LineString> collapseTooShortEdges(Graph g, double d, boolean startWithShortestEdge)
-
collapseTooShortEdges
public static Collection<org.locationtech.jts.geom.LineString> collapseTooShortEdges(Collection<org.locationtech.jts.geom.LineString> lines, double d, boolean startWithShortestEdge, boolean planarGraph)
-
-