跳到主要内容

set_cell

设置结点权重

声明

void set_cell(int x, int y, float val = -1.0)

参数

参数名描述
x坐标x
y坐标y
val花费权重 -1为不可到达

返回值

使用方式

返回文档