• Apply distance transform algorithm for a given room.

    Parameters

    • roomName: RoomName

      name of the target room. No visibility is needed

    • Optional exclude: CostMatrix

      optional matrix with non-zero values considered as wall

    Returns CostMatrix

    A matrix where values are distance to the nearest wall

Generated using TypeDoc