Source code for pyleecan.Methods.Geometry.PolarArc.rotate

# -*-- coding: utf-8 -*
from numpy import exp


[docs]def rotate(self, angle): """Do the rotation of the PolarArc Parameters ---------- self : PolarArc a PolarArc angle : float the angle for rotation [rad] Returns ------- None """ # check if the PolarArc is correct self.check() self.point_ref = self.point_ref * exp(1j * angle)