static void Iterate(ISpacePointsIterator iteratorByPlane) { Grid = new Dictionary <Location, int> { { StartStepPoint, 1 } }; iteratorByPlane.Iterate(); }
public static bool Expand(ISpacePointsIterator spacePointsIterator) { FillData(); Iterate(spacePointsIterator); if (!Grid.ContainsKey(EndStepPoint)) { return(false); } return(true); }