Trait truck_geometry::base::SearchNearestParameter[][src]

pub trait SearchNearestParameter {
    type Point;
    type Parameter;
    fn search_nearest_parameter(
        &self,
        point: Self::Point,
        hint: Option<Self::Parameter>,
        trial: usize
    ) -> Option<Self::Parameter>; }
Expand description

Search parameter t such that self.subs(t) is nearest point.

Associated Types

point

curve => f64, surface => (f64, f64)

Required methods

Search nearest parameter t such that self.subs(t) is nearest point.
Returns None if could not find such parameter.

Implementations on Foreign Types

Implementors

Only derive from leading curve. Not precise.