![]() SegmentList ( iterable=(), / ) ¶Ī list subclass to hold Segments that are joined sequentially to form a path. Points_per_radian ( int) – the number of points per radian of arc the default of 60 (about 1 per degree) is Radius ( float) – the radius of the circular arcs used to connect the straight segments. ![]() Points ( iterable ) – a list of points in package format. If several points lie on the same line, the redundant ones The given radius should be smaller thanĪbout half the length of the shorted straight section. No warning isĬurrently given when this happens, so you need to inspect your design. ![]() If the given radius is too large there is no way to make this work, and the results will be ugly. Points, because all of the interior points will be replaced. The returned path will not contain any of the given points except for the starting and ending Return a list of smoothed points constructed by adding points to change the given corners into arcs.Īt each corner, the original point is replaced by points that form circular arcs that are tangent to the original smooth ( points, radius, points_per_radian = 60 ) ¶ Origin ( indexable) – the starting point of the list.Ī list of points in the package format. Increments ( iterable ) – a list of points in the package format the differences between consecutive from_increments ( increments =, origin = ( 100, 0 )) ), array(), array()] Parameters
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |