check (method)

@package Methods.Geometry.Arc1.check Check Arc1 method @date Created on Fri Dec 05 13:33:05 2014 @copyright (C) 2014-2015 EOMYS ENGINEERING. @author pierre_b

check(self)[source]

assert that the arc is correct (begin != end; radius !=0)

Parameters:

self (Arc1) – An Arc1 object

Returns:

Return type:

None

Raises:
  • PointArc1Error – The beginning point and the ending point of an Arc1 can’t be the same
  • RadiusArc1Error – An Arc1 can’t have a null radius
exception PointArc1Error[source]

Bases: Exception

exception RadiusArc1Error[source]

Bases: Exception