Lines Matching refs:pts
115 pts = []
121 pts.append(voronoi.Site(x, y))
123 pts.append(voronoi.Site(x + q['width'], y))
125 pts.append(voronoi.Site(x + q['width'], y + q['height']))
127 pts.append(voronoi.Site(x + q['width'], y - q['height']))
129 pts.append(voronoi.Site(x - q['width'], y))
131 pts.append(voronoi.Site(x - q['width'], y + q['height']))
133 pts.append(voronoi.Site(x - q['width'], y - q['height']))
135 pts.append(voronoi.Site(x, y + q['height']))
137 pts.append(voronoi.Site(x, y - q['height']))
139 pts.append(voronoi.Site(x, y)) # leave border area blank
145 if len(pts) < 3:
150 sl = voronoi.SiteList(pts)