def _calculate_curr_distance(self): self.__curr_distance = Point.distance(self.get_origin(), self.get_center()) print("distance " + str(self.__curr_distance))
def contains(self, point): distance = Point.distance(point, self.get_center()) if distance <= self.__radius: return True return False