[][src]Trait arcs::algorithms::ClosestPoint

pub trait ClosestPoint {
    fn closest_point(&self, target: Vector) -> Closest;
}

Find the location on an object which is closest to a target point.

Required methods

fn closest_point(&self, target: Vector) -> Closest

Calculate the closest point to target.

Loading content...

Implementations on Foreign Types

impl<'c, C: ClosestPoint + ?Sized> ClosestPoint for &'c C[src]

Loading content...

Implementors

impl ClosestPoint for Line[src]

impl ClosestPoint for Point[src]

impl ClosestPoint for Vector[src]

Loading content...