BRepEdge.to_ellipse

BRepEdge.to_ellipse()

Convert the edge geometry to an ellipse.

Returns

Ellipse – A COMPAS ellipse.

Raises

ValueError – If the underlying geometry is not an ellipse.