ds_grid_get_disk_min


描述

This function can be used to find the minimum value for all the cells found within the defined disk area of a grid, as shown in the image below:


语法:

ds_grid_get_disk_min(index, xm, ym, r);

参数 描述
index 栅格的索引
xm 栅格内圆盘区域x位置。
ym 栅格内圆盘区域的y位置。
r 栅格中圆盘的半径


Returns:

Real or String


例如:

val = ds_grid_get_disk_min(grid, 5, 5, 2)

The above code will set the variable "val" to the minimum value contained within the given disk of the ds_grid indexed in the variable "grid".