void FindFreeSpaceInDirection(IEnumerable <AxisEdge> axisEdges)
        {
            BoundAxisEdgesByRectsKnownInAdvance();
            var freeSpaceFinder = new FreeSpaceFinder(NudgingDirection, Obstacles,
                                                      axisEdgesToObstaclesTheyOriginatedFrom, PathOrders, axisEdges);

            freeSpaceFinder.FindFreeSpace();
        }
Beispiel #2
0
 public FreeSpaceFinderComparer(FreeSpaceFinder owner)
 {
     m_Owner = owner;
 }
 void FindFreeSpaceInDirection(IEnumerable<AxisEdge> axisEdges) {
     BoundAxisEdgesByRectsKnownInAdvance();
     var freeSpaceFinder = new FreeSpaceFinder(NudgingDirection, Obstacles,
                                               axisEdgesToObstaclesTheyOriginatedFrom, PathOrders, axisEdges);
     freeSpaceFinder.FindFreeSpace();
 }