BRepEdge.to_circle

BRepEdge.to_circle()[source]

Convert the edge geometry to a circle.

Returns

Circle – A COMPAS circle.

Raises

ValueError – If the underlying geometry is not a circle.