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