check (method)

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