Skip to main content

edge_pcurve_gap

Function edge_pcurve_gap 

Source
pub fn edge_pcurve_gap(
    model: &Model,
    edge: &Shape,
    tol: Tolerances,
) -> OgeomResult<Option<f64>>
Expand description

The widest gap between edge’s curve and any of its pcurves at the edge’s own placement, measured by pcurve_gap against the edge’s stated tolerance; None for an edge with no curve.

§Errors

OgeomError::Dangling if the edge or its geometry is not in model; as pcurve_gap.