Trait Distance

Source
pub trait Distance<T, Other> {
    // Required method
    fn distance(&self, other: &Other) -> T;
}
Expand description

Query Traits

Required Methods§

Source

fn distance(&self, other: &Other) -> T

Implementors§

Source§

impl<T> Distance<T, Vector3<T>> for Plane<T>
where T: FloatScalar,

Distance Queries

Source§

impl<T> Distance<T, Vector3<T>> for Segment<T, Vector3<T>>
where T: FloatScalar,