pub fn make_edge(
model: &mut Model,
curve: Curve,
range: (f64, f64),
tol: Tolerances,
) -> OgeomResult<Built>Expand description
Build an edge on curve, bounded by its own endpoints.
Creates the two bounding vertices from the curve’s ends, so the edge’s topology and its geometry cannot disagree about where it starts and stops. A closed curve gets one vertex named twice, which is what keeps “walk to the end” meaningful for a full circle.
§Errors
OgeomError::Domain if range leaves the curve’s
domain, and OgeomError::Construction if it
is empty.