RhinoNurbsCurve.divide_by_length
- RhinoNurbsCurve.divide_by_length(length, return_points=False)[source]
Divide the curve into segments of specified length.
- Parameters
length (float) – The length of the segments.
return_points (bool, optional) – If
True
, return the list of division parameters, and the points corresponding to those parameters. IfFalse
, return only the list of parameters.
- Returns
list of float or tuple of list of float and list of
compas.geometry.Point
– The parameters defining the discretisation, and potentially the points corresponding to those parameters.