예제 #1
0
 def ell(pts):
     return ddiff(drectangle(pts, -1, 1, -1, 1), drectangle(pts, -2, 0, -2, 0))
예제 #2
0
 def ell(pts):
     return ddiff(drectangle(pts, -1, 1, -1, 1),
                  drectangle(pts, -2, 0, -2, 0))
예제 #3
0
 def circle_with_a_hole(pts):
     return ddiff(dcircle(pts, 0, 0, 1), dcircle(pts, 0.5, 0, 0.4))
예제 #4
0
 def circle_with_a_hole(pts):
     return ddiff(dcircle(pts, 0, 0, 1), dcircle(pts, 0.5, 0, 0.4))