Skip to main content

image_curve

Function image_curve 

Source
pub fn image_curve(
    surface: &NurbsSurface,
    pcurve: &NurbsCurve,
    tolerance: f64,
    site: &str,
) -> Result<ImageCurve, String>
Expand description

Build the 3D image of an ARBITRARY pcurve on surface.

See the module docs for the tier ladder and the parametrisation contract. tolerance is the caller’s own spatial accuracy bar for a committed edge; it is the acceptance criterion for every tier, and the approximation tier refuses rather than returning a fit that misses it. site names the caller in the refusal message.