[−][src]Trait kdt::point::FloatPoint
Required methods
pub fn squared_eucledian(&self, other: &Self) -> F
[src]
pub fn distance_to_space(
&self,
min_bounds: &[F; DIM],
max_bounds: &[F; DIM]
) -> F
[src]
&self,
min_bounds: &[F; DIM],
max_bounds: &[F; DIM]
) -> F
Implementors
impl<F: Float, const DIM: usize> FloatPoint<F, DIM> for Point<F, DIM>
[src]
pub fn squared_eucledian(&self, other: &Self) -> F
[src]
Returns the squared euclidean distance between two points.
pub fn distance_to_space(
&self,
min_bounds: &[F; DIM],
max_bounds: &[F; DIM]
) -> F
[src]
&self,
min_bounds: &[F; DIM],
max_bounds: &[F; DIM]
) -> F