Source code for pyleecan.Methods.Geometry.Arc1.reverse
[docs]def reverse(self):
"""Reverse the begin and end point of the Line
Parameters
----------
self : Arc1
An Arc1 object
Returns
-------
"""
end = self.end
self.end = self.begin
self.begin = end
self.radius = -self.radius
self.is_trigo_direction = not self.is_trigo_direction