Function isSpaceAnchorOccupancyPointAvailable

  • Parameters

    • input: {
          existingOccupants: readonly {
              x: number;
              y: number;
          }[];
          minDistance: number;
          occupiedKeys: ReadonlySet<string>;
          point: OccupancyGridPoint;
          structureAnchors: readonly {
              x: number;
              y: number;
          }[];
          structureMinDistance: number;
      }
      • existingOccupants: readonly {
            x: number;
            y: number;
        }[]
      • minDistance: number
      • occupiedKeys: ReadonlySet<string>
      • point: OccupancyGridPoint
      • structureAnchors: readonly {
            x: number;
            y: number;
        }[]
      • structureMinDistance: number

    Returns boolean