Ejemplo n.º 1
0
 def __init__(self, x, y, radius):
     """ Constructor
         
     Sets the logging level and the center and radius fields of this class
     
     Keyword arguments:
     x     -- Circle x coordinate
     y     -- Circle y coordinate
     radius-- Circle radius    
     """
     
     Circle.__init__(self, x, y, radius)
Ejemplo n.º 2
0
 def __str__(self):
     """ Human readable representation
     
     Returns:
     str -- the center and radius of the circle
     """
     return 'BCFilter: {0}'.format(Circle.__str__(self))