def __init__(self): Polygon.__init__(self, 4)
def __init__(self, *args, **kw): assert len(kw) == 0 and len(args) in (1, 3) Polygon.__init__(self, *args, **kw)
def __init__(self, points, polygon_id): Polygon.__init__(self, points) self.__id = polygon_id self.__get_extreme_point() self.__sorted_points = None
def __init__(self, Points, **kwargs): assert len(Points) == 3, 'More than 3 Points' Polygon.__init__(self, Points, **kwargs)