OCCBrepEdge.to_circle

OCCBrepEdge.to_circle()

Convert the edge geometry to a circle.

Returns:
Circle

A COMPAS circle.

Raises:
ValueError

If the underlying geometry is not a circle.