Class EdgeCollapse


  • public class EdgeCollapse
    extends Object
    Author:
    julien Gaffuri
    • Constructor Detail

      • EdgeCollapse

        public EdgeCollapse()
    • 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,
                                            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)