check (method)

@package Methods.Geometry.Arc2.check Check Arc2 method @date Created on Mon Dec 08 13:20:16 2014 @copyright (C) 2014-2015 EOMYS ENGINEERING. @author pierre_b

check(self)[source]

assert that the arc is correct (begin != center)

Parameters:

self (Arc2) – An Arc2 object

Returns:

Return type:

None

Raises:
  • PointArc2Error – The beginning point and the ending point of an Arc2 can’t be the same
  • AngleArc2Error – An Arc2 can’t have a null opening angle
exception PointArc2Error[source]

Bases: Exception

exception AngleArc2Error[source]

Bases: Exception