Skip to content

Commit ec4c405

Browse files
committed
added missing docstring
1 parent 169ecd1 commit ec4c405

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/compas_rhino/conversions/_primitives.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,18 @@ def arc_to_rhino(arc):
333333

334334

335335
def arc_to_compas(arc):
336-
""" """
336+
"""Convert a Rhino Arc Structure to a COMPAS Arc.
337+
338+
Parameters
339+
----------
340+
arc : :rhino:`Rhino.Geometry.Arc`
341+
The Rhino Arc to convert.
342+
343+
Returns
344+
-------
345+
:rhino:`Rhino.Geometry.Arc`
346+
347+
"""
337348
frame = plane_to_compas_frame(arc.Plane)
338349
# Arc center point can be set independently of its plane's origin
339350
center = point_to_compas(arc.Center)

0 commit comments

Comments
 (0)