compas_circle_to_occ_circle
- compas_occ.conversions.compas_circle_to_occ_circle(circle: compas.geometry.curves.circle.Circle) OCC.Core.gp.gp_Circ
Construct an OCC circle from a COMPAS circle.
- Parameters
- circle
compas.geometry.Cicrle
The COMPAS circle.
- circle
- Returns
gp_Circ
See also
compas_ellipse_to_occ_ellipse()
Examples
>>> from compas.geometry import Circle >>> from compas_occ.conversions import compas_circle_to_occ_circle >>> circle = Circle(1) >>> compas_circle_to_occ_circle(circle) <class 'gp_Circ'>