comp_length (method)

@package Methods.Geometry.Segment.comp_length Computation of Segment length method @date Created on Fri Dec 05 11:00:08 2014 @copyright (C) 2014-2015 EOMYS ENGINEERING. @author pierre_b

comp_length(self)[source]

Compute the length of the line

Parameters:self (Segment) – A Segment object
Returns:length – lenght of the line [m]
Return type:float
Raises:PointSegmentError – Call Segment.check()