pyleecan.Methods.Geometry.Segment.check module

check(self)[source]

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