跳到主要内容

get_g_value

获得g权重

声明

int get_g_value(int x1, int y1, int x2, int y2)

参数

参数名描述
x1当前点x
y1当前点y
x2到达点x
y2到达点y

返回值

g权重

使用方式

返回文档