PolySegment#

class PolySegment(points)#

Bases: object

A polyline segment defined by a list of complex points.

__init__(points)#

Methods

__init__(points)

length()

Return the total length of the piecewise linear curve.

sample(n)

length()#

Return the total length of the piecewise linear curve.