Source code for pyleecan.Methods.Geometry.Trapeze.translate
# -*-- coding: utf-8 -*
[docs]def translate(self, Zt):
"""Translate the Trapeze
Parameters
----------
self : Trapeze
a Trapeze object
Zt : complex
Complex value for translation
Returns
-------
None
"""
# check if the Trapeze is correct
self.check()
self.point_ref += Zt