polliwog/polyline/polyline.py
def segment_lengths(self):
        """
        The length of each of the segments.

        """
        if self.e is None:
            return np.zeros(0)
        else:
            v1s = self.v[self.e[:, 0]]
            v2s = self.v[self.e[:, 1]]
            return vg.euclidean_distance(v1s, v2s)

        The length of each of the segments.

        
The length of each of the segments.
The length of each of the segments .
def segment_lengths(self):
        if self.e is None:
            return np.zeros(0)
        else:
            v1s = self.v[self.e[:, 0]]
            v2s = self.v[self.e[:, 1]]
            return vg.euclidean_distance(v1s, v2s)
def segment_lengths ( self ) : if self . e is None : return np . zeros ( 0 ) else : v1s = self . v [ self . e [ : , 0 ] ] v2s = self . v [ self . e [ : , 1 ] ] return vg . euclidean_distance ( v1s , v2s )
The length of each of the segments.
The length of each of the segments .
"""
        The length of each of the segments.

        """
self