Пример #1
0
def Triangle(center, Redius, orientation):
    Points0 = regularPolygon(3, center, Redius)
    Points = rotate(Points0, center, orientation)
    return Points
Пример #2
0
def Triangle90(center, Redius, angle):
    Points0 = regularPolygon(3, center, Redius)
    Points = rotate(Points0, center, angle)
    del Points[0]
    Points.append(center)
    return Points
Пример #3
0
def Circle(center, Redius):
    return regularPolygon(250, center, Redius)