# PathfindingTest **Repository Path**: h2magic/PathfindingTest ## Basic Information - **Project Name**: PathfindingTest - **Description**: Python实现的A-star寻路算法 - **Primary Language**: C++ - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-02-08 - **Last Updated**: 2024-08-07 ## Categories & Tags **Categories**: mathlibs **Tags**: None ## README # PathfindingTest 用Qt5搭建一个图形化测试寻路算法的测试环境 Use Qt5 to build a graphical test environment for pathfinding algorithms # 界面使用方法 How to use 鼠标左键双击,设定红色的起点 Double click left mouse key to set start position, remark using red 鼠标右键双击,设定蓝色的终点 Double click right mouse key to set end position, remark using blue 鼠标左键或者右键按着不放,拖动可以设置黑色的障碍点 Press left or right mouse key and move, you can set a series of obstacle position , remark using black 注:只设置1个起点和1个终点才能有效 Care: Only one start position and only one end position 方格中坐标与 world中的二维索引一一对应 One-to-one correspondence between coordinates and indexes # 预览图 Overview images ![20x20](https://z3.ax1x.com/2021/05/25/gzW4PI.png) ![50x50](https://z3.ax1x.com/2021/05/25/gzWRVH.png) ![100x100](https://z3.ax1x.com/2021/05/25/gzWfIA.png)