Interface DirectedGraph<V extends DirectedVertex,​E extends DirectedEdge,​ES extends EdgeSegment>

    • Method Detail

      • getEdgeSegments

        EdgeSegments<ES> getEdgeSegments()
        Collect edges segments of graph
        Returns:
        edges segments
      • validate

        default boolean validate()
        validate the graph, issues will be logged
        Specified by:
        validate in interface Graph<V extends DirectedVertex,​E extends DirectedEdge>
        Returns:
        true when valid, false otherwise
      • transformGeometries

        default void transformGeometries​(org.opengis.referencing.operation.MathTransform transformer)
                                  throws org.opengis.geometry.MismatchedDimensionException,
                                         org.opengis.referencing.operation.TransformException
        transform all geometries of the vertices, edges, and edge segments using the same transformer, can be used to transform from one coordinate reference system to another, or perform translations, etc.
        Specified by:
        transformGeometries in interface Graph<V extends DirectedVertex,​E extends DirectedEdge>
        Parameters:
        transformer - to apply
        Throws:
        org.opengis.geometry.MismatchedDimensionException - thrown if error
        org.opengis.referencing.operation.TransformException - thrown if error