Polyline.divide_polyline_by_length
-
Polyline.
divide_polyline_by_length
(length, strict=True, tol=1e-06)[source] Splits a polyline in segments of a given length.
- Parameters
length (float)
strict (bool) – If set to
False
, the remainder segment will be added even if it is smaller than the desired lengthtol (float) – floating point error tolerance
- Returns
list – list of
compas.geometry.Point