Skip to main content

edges_apart

Function edges_apart 

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

How far apart two edges’ curves stand: the farthest that any of many samples along either curve’s stretch lies from the nearest point of the other’s, each curve placed as its occurrence is. None where either edge has no curve.

§Errors

OgeomError::Dangling if an edge or its curve is not in model; OgeomError::Domain if a curve cannot be evaluated over its stretch.