<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ## **ds_grid_get_max** **從矩形區域內的所有值中尋找最大值。** #### **語法:** ds_grid_get_max(index, xm, ym, r); 參數 描述 index The index of the grid. x1 The left cell column of the region. y1 The top cell row of the region. x2 The right cell column of the region. y2 The bottom cell row of the region.** | 參數 | 描述 | | --- | --- | | index | 網格索引 | | x1 | 要查找的單元格的矩形區域起始點x(以0為初始值) | | y1 | 要查找的單元格的矩形區域起始點y(以0為初始值) | | x2 | 要查找的單元格的矩形區域終點x(以0為初始值) | | y1 | 要查找的單元格的圓形區域終點y(以0為初始值) | **Returns:** Real or String #### **描述** 這個函數可以在一個數據結構中從圓形區域內的所有值中尋找最大值, 下面圖片能很好的展示它是如何工作的: ![vh4PS.png](https://s1.ax2x.com/2018/02/07/vh4PS.png) 舉例: val = ds_grid_get_max(grid, 0, 0, 5, 5); 上面的代碼把網格結構“grid”中的以(5,5)為中心半徑為2圓形區域中的最大值存儲在val變量中。 (額外說明:這里的示例是錯的,因為VAL是聲明變量的函數,不能用來代替變量正確的應該是val max_num= ds_grid_get_disk_max(grid, 5, 5, 2);)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看