BRepEdge.to_ellipse

BRepEdge.to_ellipse()[source]

Convert the edge geometry to an ellipse.

Returns

Ellipse – A COMPAS ellipse.

Raises

ValueError – If the underlying geometry is not an ellipse.