pub fn edge_vertices(
model: &Model,
edge: &Shape,
) -> OgeomResult<Option<(Shape, Shape)>>Expand description
The vertices an edge runs between, in the direction it is traversed.
A reversed edge runs the other way, so its start is its stored second bound. Every caller that walks a boundary needs this, and getting it from the raw children instead is how a wire ends up appearing disconnected.
ยงErrors
OgeomError::Construction if edge is not
an edge.