circle_to_occ

compas_occ.conversions.circle_to_occ(circle)

Construct an OCC circle from a COMPAS circle.

Parameters:
circlecompas.geometry.Cicrle

The COMPAS circle.

Returns:
gp_Circ

See also

ellipse_to_occ()

Examples

>>> from compas.geometry import Circle
>>> from compas_occ.conversions import circle_to_occ
>>> circle = Circle(1)
>>> circle_to_occ(circle)
<class 'gp_Circ'>