Class HighwayMatrixWave

java.lang.Object
com._1c.g5.v8.dt.common.gef.drow2d.AbstractHighwayMatrix
com._1c.g5.v8.dt.common.gef.drow2d.HighwayMatrixWave
All Implemented Interfaces:
IHighwayMatrix

public class HighwayMatrixWave extends AbstractHighwayMatrix implements IHighwayMatrix
The implementation of the IHighwayMatrix using wave algorithm.
  • Constructor Details

  • Method Details

    • 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
      Parameters:
      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
      Returns:
      finded path or @{code null}
      See Also: