Skip to main content

trace_tangent_curve

Function trace_tangent_curve 

Source
pub fn trace_tangent_curve(
    first: &NurbsSurface,
    second: &NurbsSurface,
    contact: &TangentContact,
    options: &SurfaceIntersectionOptions,
) -> Result<Option<SurfaceIntersectionCurve>, String>
Expand description

March the tangent curve through an EXTENDED contact, both ways from the contact point, and return it typed as a tangent section. None when the contact is not extended (an isolated node or point has no curve to march).

Step sizes are the ordinary march’s (initial = extent / 100, maximum = extent / 15 or the caller’s ceiling, minimum = max(100 tol, 1e-6 extent)), with the corrector run at options.tolerance.