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

            freeSpaceFinder.FindFreeSpace();
        }
示例#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();
 }