check (method)

check(self)[source]

Check if the Trapeze object is correct

Parameters

self (Trapeze) – a Trapeze Object

Returns

Return type

None

Raises
  • TrapezeError – the W1 base of Trapeze must be greater than 0

  • TrapezeError – the W2 base of Trapeze must be greater than 0

exception TrapezeError[source]

Bases: Exception