libcod
gsc_astar.hpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "gsc.hpp"
Include dependency graph for gsc_astar.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int GRAPH_new ()
 
int GRAPH_add_edge (int graph, int first, int second)
 
int GRAPH_add_vertex (int graph, float x, float y, float z)
 
int GRAPH_delete (int graph)
 
int GRAPH_build (int graph)
 
int GRAPH_do_astar (int graph, int from, int to, int **outRet, int *outLen, float *outCost)
 
int GRAPH_getNearestEdge (int graph, float *pos, int *out_wp1, int *out_wp2, float **out_pos)
 
int MATH_nearest_point_on_linesegment (float *from, float *to, float *toPoint, float *out_point)
 
int gsc_graph_new ()
 
int gsc_graph_add_edge ()
 
int gsc_graph_add_vertex ()
 
int gsc_graph_delete ()
 
int gsc_graph_build ()
 
int gsc_graph_do_astar ()
 
int gsc_graph_get_nearest_edge ()
 

Function Documentation

int GRAPH_add_edge ( int  graph,
int  first,
int  second 
)

Here is the caller graph for this function:

int GRAPH_add_vertex ( int  graph,
float  x,
float  y,
float  z 
)

Here is the caller graph for this function:

int GRAPH_build ( int  graph)

Here is the caller graph for this function:

int GRAPH_delete ( int  graph)

Here is the caller graph for this function:

int GRAPH_do_astar ( int  graph,
int  from,
int  to,
int **  outRet,
int *  outLen,
float *  outCost 
)

Here is the caller graph for this function:

int GRAPH_getNearestEdge ( int  graph,
float *  pos,
int *  out_wp1,
int *  out_wp2,
float **  out_pos 
)

Here is the caller graph for this function:

int GRAPH_new ( )

Here is the caller graph for this function:

int gsc_graph_add_edge ( )

Here is the call graph for this function:

Here is the caller graph for this function:

int gsc_graph_add_vertex ( )

Here is the call graph for this function:

Here is the caller graph for this function:

int gsc_graph_build ( )

Here is the call graph for this function:

Here is the caller graph for this function:

int gsc_graph_delete ( )

Here is the call graph for this function:

Here is the caller graph for this function:

int gsc_graph_do_astar ( )

Here is the call graph for this function:

Here is the caller graph for this function:

int gsc_graph_get_nearest_edge ( )

Here is the call graph for this function:

Here is the caller graph for this function:

int gsc_graph_new ( )

Here is the call graph for this function:

Here is the caller graph for this function:

int MATH_nearest_point_on_linesegment ( float *  from,
float *  to,
float *  toPoint,
float *  out_point 
)

Here is the caller graph for this function: