translate (method)

translate(self, Zt)[source]

Translate the Segment object

Parameters:
  • self (Segment) – An Segment object
  • Zt (complex) – Complex value for translation
Returns:

Return type:

None

exception PointTranslateSegmentError[source]

Bases: Exception