[−][src]Trait broccoli::query::Knearest
The geometric functions that the user must provide.
Associated Types
Loading content...Required methods
Loading content...Provided methods
pub fn distance_to_bot(
&mut self,
point: Vec2<Self::N>,
bot: &Self::T
) -> Self::N
[src]
&mut self,
point: Vec2<Self::N>,
bot: &Self::T
) -> Self::N
User defined expensive distance function. Here the user can return fine-grained distance of the shape contained in T instead of its bounding box.