Function truck_geotrait::algo::surface::search_nearest_parameter
source · pub fn search_nearest_parameter<S>(
surface: &S,
point: S::Point,
hint: (f64, f64),
trials: usize
) -> Option<(f64, f64)>where
S: ParametricSurface,
S::Point: EuclideanSpace<Scalar = f64, Diff = S::Vector>,
S::Vector: InnerSpace<Scalar = f64> + Tolerance,
Expand description
Searches the nearest parameter by Newton’s method.