[−][src]Trait neurarbor::Location
Required methods
Loading content...Provided methods
fn distance_to(&self, other: &[Precision; 3]) -> Precision
How far from one Location object to another
fn project_towards(
&self,
other: &[Precision; 3],
distance: Precision
) -> ([Precision; 3], Precision)
&self,
other: &[Precision; 3],
distance: Precision
) -> ([Precision; 3], Precision)
Where you would end up if you travelled distance
towards other
,
and the overshoot: how far past the point you have travelled
(negative if the point was not reached).