Changeset 4142 for anuga_core/source/anuga/alpha_shape
- Timestamp:
- Jan 8, 2007, 11:35:06 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/alpha_shape/alpha_shape.py
r4139 r4142 179 179 180 180 ## Build Delaunay triangulation 181 from anuga.mesh_engine.mesh_engine import generate_mesh181 import anuga.mesh_engine.triang as triang 182 182 points = [] 183 183 seglist = [] … … 186 186 pointattlist = [] 187 187 segattlist = [] 188 trilist = [] 188 189 189 190 points = [(pt[0], pt[1]) for pt in self.points] … … 191 192 mode = "Qzcn" 192 193 #print "computing delaunay triangulation ... \n" 193 tridata = generate_mesh(points,seglist,holelist,regionlist,194 pointattlist,segattlist, mode)194 tridata = triang.genMesh(points,seglist,holelist,regionlist, 195 pointattlist,segattlist,trilist,mode) 195 196 #print tridata 196 197 #print "point attlist: ", tridata['generatedpointattributelist'],"\n"
Note: See TracChangeset
for help on using the changeset viewer.