Skip to main content

classify_tangent_contact_at

Function classify_tangent_contact_at 

Source
pub fn classify_tangent_contact_at(
    first: &NurbsSurface,
    second: &NurbsSurface,
    witness: Vec3,
    tolerance: f64,
) -> Result<Option<TangentContact>, String>
Expand description

Refine witness onto the tangential contact of the two carriers and classify it. None when the witness is not near any contact (the refinement leaves a residual above tolerance) or the carriers have no curvature to classify by (two planes).