81 const int node1_index,
82 const int node2_index,
107 const int node_idx_curr,
108 const int node_idx_next,
109 const int node_idx_dst);
114 const int node_index_src,
115 const int node_index_dst,
118 const int max_steps);
typedef float(TangentPoint)[2]
void BLI_astar_graph_init(BLI_AStarGraph *as_graph, const int node_num, void *custom_data)
struct BLI_AStarGNode BLI_AStarGNode
struct BLI_AStarGNLink BLI_AStarGNLink
void BLI_astar_solution_clear(BLI_AStarSolution *as_solution)
struct BLI_AStarGraph BLI_AStarGraph
float(* astar_f_cost)(BLI_AStarGraph *as_graph, BLI_AStarSolution *as_solution, BLI_AStarGNLink *link, const int node_idx_curr, const int node_idx_next, const int node_idx_dst)
void BLI_astar_node_init(BLI_AStarGraph *as_graph, const int node_index, void *custom_data)
void BLI_astar_solution_init(BLI_AStarGraph *as_graph, BLI_AStarSolution *as_solution, void *custom_data)
void BLI_astar_node_link_add(BLI_AStarGraph *as_graph, const int node1_index, const int node2_index, const float cost, void *custom_data)
bool BLI_astar_graph_solve(BLI_AStarGraph *as_graph, const int node_index_src, const int node_index_dst, astar_f_cost f_cost_cb, BLI_AStarSolution *r_solution, const int max_steps)
void BLI_astar_solution_free(BLI_AStarSolution *as_solution)
void BLI_astar_graph_free(BLI_AStarGraph *as_graph)
int BLI_astar_node_link_other_node(BLI_AStarGNLink *lnk, const int idx)
struct BLI_AStarSolution BLI_AStarSolution
struct ListBase neighbor_links
BLI_AStarGNLink ** prev_links