3 Star 0 Fork 0

江苏岚江智能科技有限公司 / supply-point

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 822 Bytes
一键复制 编辑 原始数据 按行查看 历史
吴文凯 提交于 2023-05-05 15:47 . up
package supply_point
//
//func main() {
// //pathPoint := readPathPoint("res/pathPoint1.csv")
// ////fmt.Println(getAllDistance(pathPoint))
// //lines, corners := getCorner(pathPoint)
// //fmt.Println(len(lines), len(corners))
// //drawPathPoint(pathPoint, corners)
// //_ = lines
//
// f, err := os.Open("res/pathPoint1.csv") // 打开文件 - 不用管
// if err != nil {
// panic("open path point error:" + err.Error())
// }
// data, _ := io.ReadAll(f) // 读取文件
// // 初始化路径
// sp := NewSupplyPoint(data)
// // 获取拐点
// corner := sp.GetCorner()
// // 将拐点分组
// cornerGroup := sp.GroupByCorner(corner)
// // 获取补给点(直接取中间的一个就好了)
// supplyPoint := sp.GetSupplyPoint(cornerGroup, 20)
// drawSupplyPoint(sp.p, cornerGroup)
// fmt.Println(supplyPoint)
//}
1
https://gitee.com/jiangsu-lanjiang-intelligent/supply-point.git
git@gitee.com:jiangsu-lanjiang-intelligent/supply-point.git
jiangsu-lanjiang-intelligent
supply-point
supply-point
v0.1.22

搜索帮助