Returns a list with the coordinates of the points at the edge of the rectangle as tuples.
        e.g.[(x1,y1),(x2,y2)]
        The sorting is counterclockwise starting with the lower left corner.
        Coordinates must be numbers or an exception will be thrown.

def getEdgePoints(self):
        """
        Returns a list with the coordinates of the points at the edge of the rectangle as tuples.
        e.g.[(x1,y1),(x2,y2)]
        The sorting is counterclockwise starting with the lower left corner.
        Coordinates must be numbers or an exception will be thrown.
        """
        result = [(float(self.get_x()),float(self.get_y()))]
        result.append((float(self.get_x())+float(self.get_width()),float(self.get_y())))
        result.append((float(self.get_x())+float(self.get_width()),float(self.get_y())+float(self.get_height())))
        result.append((float(self.get_x()),float(self.get_y())+float(self.get_height())))
        return result