Return the rotation angles as a string.
(self)
| 1638 | return coords |
| 1639 | |
| 1640 | def _rotation_coords(self): |
| 1641 | """ |
| 1642 | Return the rotation angles as a string. |
| 1643 | """ |
| 1644 | norm_elev = art3d._norm_angle(self.elev) |
| 1645 | norm_azim = art3d._norm_angle(self.azim) |
| 1646 | norm_roll = art3d._norm_angle(self.roll) |
| 1647 | coords = (f"elevation={norm_elev:.0f}\N{DEGREE SIGN}, " |
| 1648 | f"azimuth={norm_azim:.0f}\N{DEGREE SIGN}, " |
| 1649 | f"roll={norm_roll:.0f}\N{DEGREE SIGN}" |
| 1650 | ).replace("-", "\N{MINUS SIGN}") |
| 1651 | return coords |
| 1652 | |
| 1653 | def _location_coords(self, xv, yv, renderer): |
| 1654 | """ |