check (method)

@package Methods.Geometry.Segment.check Check Segment method @date Created on Fri Dec 05 09:55:35 2014 @copyright (C) 2014-2015 EOMYS ENGINEERING. @author pierre_b


assert that the line is correct (begin != end)

Parameters:self (Segment) – A Segment object
Return type:None
Raises:PointSegmentError – The beginning point and the ending point of an Segment can’t be the same
exception PointSegmentError[source]

Bases: Exception