neurom.morphmath.segment_length2

neurom.morphmath.segment_length2(seg)[source]

Return the square of the length of a segment.

Returns: Square of Euclidian distance between centres of points in seg