check (method)

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