예제 #1
0
def polygon(pnts, wire=False):
    if wire:
        return pyservoce.polysegment(points(pnts), True)
    else:
        return pyservoce.polygon(points(pnts))
예제 #2
0
def polysegment(lst, closed=False):
    return pyservoce.polysegment(points(lst), closed)