Trait truck_modeling::base::SearchParameter[][src]

pub trait SearchParameter {
    type Point;
    type Parameter;
    fn search_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 near point.

Associated Types

point

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

Required methods

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

Implementations on Foreign Types

Implementors