We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09c3a96 commit b3e3baaCopy full SHA for b3e3baa
shapes/ex_circle_7cp.py
@@ -9,6 +9,7 @@
9
10
from geomdl.shapes import curve2d
11
from geomdl import operations
12
+from geomdl import multi
13
from geomdl.visualization import VisMPL
14
15
@@ -23,7 +24,8 @@
23
24
circle.render()
25
26
# Decompose the circle into Bezier curve segments
-bezier_segments = operations.decompose_curve(circle)
27
+segments = operations.decompose_curve(circle)
28
+bezier_segments = multi.CurveContainer(segments)
29
30
# Set sample size (delta)
31
bezier_segments.sample_size = 25
0 commit comments