Class HighwayMatrixWave

    • Method Detail

      • getPath

        public RoutePath getPath​(int indexFrom,
                                 org.eclipse.draw2d.geometry.Point start,
                                 int indexTo,
                                 org.eclipse.draw2d.geometry.Point end)
        Looks for a path, using algorithm of a wave.
        If path is not found, then null will be returned.
        Returned path contain the start and end points.
        Specified by:
        getPath in interface IHighwayMatrix
        idFrom - the identifier of the starting highway
        start - the start point
        idTo - the identifier of the ending highway
        end - the end point and required direction from from this point
        finded path or @{code null}
        See Also: