added face information to the grid. i need to parse and add point->face information ... somehow ...

This commit is contained in:
Stephen Mardson McQuay
2010-02-07 20:23:19 -07:00
parent 50daeb5d74
commit 9064663600
3 changed files with 125 additions and 23 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/python
import sys
from grid import simple_rect_grid
from smcqdelaunay import get_qdelaunay_dump_str
if __name__ == '__main__':
try:
resolution = int(sys.argv[1])
except:
resolution = 3
g = simple_rect_grid(resolution, resolution)
s = get_qdelaunay_dump_str(g)
g.construct_connectivity(s)
print g