Skip to content

Commit d7e589d

Browse files
authored
Apply suggestions from code review
1 parent a36573e commit d7e589d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/compas/geometry/primitives/polyline.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,12 @@ def divide_polyline(self, num_segments):
325325
326326
Parameters:
327327
-----------
328-
num_segments: int
328+
num_segments : int
329329
330330
Returns
331331
-------
332332
list
333-
list of points :class:`compas.geometry.Primitives.Point`
333+
list of :class:`compas.geometry.Point`
334334
"""
335335
segment_length = self.length/num_segments
336336

@@ -341,15 +341,15 @@ def divide_polyline_by_length(self, length, strict=True):
341341
342342
Parameters:
343343
-----------
344-
length: float
344+
length : float
345345
346-
strit: boolean
347-
If set to False, the remainder segment will be added even if it is smaller than the desired length
346+
strict : bool
347+
If set to ``False``, the remainder segment will be added even if it is smaller than the desired length
348348
349349
Returns
350350
-------
351351
list
352-
list of points :class:`compas.geometry.Primitives.Point`
352+
list of :class:`compas.geometry.Point`
353353
"""
354354
num_pts = int(self.length/length)
355355
total_length = [0, 0]

0 commit comments

Comments
 (0)