Changeset 971
- Timestamp:
- Feb 28, 2005, 5:05:56 PM (20 years ago)
- Location:
- inundation/ga/storm_surge/pmesh
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pmesh/mesh.py
r969 r971 1215 1215 points.append((vertex.x,vertex.y)) 1216 1216 shape = alpha_shape.alpha_shape.Alpha_Shape(points, alpha = alpha) 1217 print "mesh boundary_type",boundary_type 1217 1218 shape.set_boundary_type(flag = boundary_type) 1218 1219 boundary_segs = shape.get_boundary() -
inundation/ga/storm_surge/pmesh/pmesh.py
r969 r971 627 627 if dialog.use_optimum.get() == SET_ALPHA: 628 628 if dialog.alphaValueOk: 629 print "dialog.boundary_type.get()",dialog.boundary_type.get() 629 630 self.autoSegment(alpha = dialog.alpha, 630 631 boundary_type=dialog.boundary_type.get()) … … 633 634 'Bad alpha value.') 634 635 else: 635 self.autoSegment() 636 print "pmesh dialog.boundary_type.get()",dialog.boundary_type.get() 637 638 self.autoSegment(boundary_type=dialog.boundary_type.get()) 636 639 637 640 … … 646 649 if len(self.mesh.getUserVertices()) >= 3: 647 650 if alpha == None: 648 newsegs, ObjectsToVisuallyDelete, self.meshLastAlpha = self.mesh.autoSegment( )651 newsegs, ObjectsToVisuallyDelete, self.meshLastAlpha = self.mesh.autoSegment(boundary_type=boundary_type) 649 652 else: 650 newsegs, ObjectsToVisuallyDelete, self.meshLastAlpha = self.mesh.autoSegment(alpha )653 newsegs, ObjectsToVisuallyDelete, self.meshLastAlpha = self.mesh.autoSegment(alpha=alpha,boundary_type=boundary_type) 651 654 652 655 #print "newsegs",newsegs
Note: See TracChangeset
for help on using the changeset viewer.