Source code for pyleecan.Methods.Geometry.Circle.comp_point_ref

[docs]def comp_point_ref(self, is_set=False): """Compute the point ref of the Surface Parameters ---------- self : Circle A Circle object is_set: bool True to update the point_ref property Returns ------- point_ref : complex the reference point of the surface """ point_ref = self.center if is_set: self.point_ref = point_ref return point_ref