Struct apath::Graph
[−]
[src]
pub struct Graph { pub nodes: Box<[[Node; 1024]; 1024]>, // some fields omitted }
Fields
nodes: Box<[[Node; 1024]; 1024]>
Methods
impl Graph
[src]
fn new() -> Graph
fn add_obs_square(&mut self, origin: Vector2<f32>, other: Vector2<f32>)
fn path_compute(
&mut self,
start: Vector2<f32>,
goal: Vector2<f32>
) -> Option<Vec<Vector2<f32>>>
&mut self,
start: Vector2<f32>,
goal: Vector2<f32>
) -> Option<Vec<Vector2<f32>>>
fn path_compute_debug(
&mut self,
start: Vector2<f32>,
goal: Vector2<f32>
) -> Option<(Vec<Vector2<f32>>, Vec<Vector2<f32>>)>
&mut self,
start: Vector2<f32>,
goal: Vector2<f32>
) -> Option<(Vec<Vector2<f32>>, Vec<Vector2<f32>>)>