Changeset 580 for inundation/ga/storm_surge/alpha_shape/alpha_shape.py
- Timestamp:
- Nov 17, 2004, 3:33:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/alpha_shape/alpha_shape.py
r579 r580 83 83 if __name__ == "__main__": 84 84 """ 85 Load in a mesh and data points with attributes. 86 Fit the attributes to the mesh. 87 Save a new mesh file. 85 Load in a data point file. 86 Determine the alpha shape boundary 87 Save the boundary to a file. 88 89 usage: alpha_shape.py point_file.xya boundary_file.bnd [alpha] 90 91 The alpha value is optional. 88 92 """ 93 89 94 import os, sys 90 usage = "usage: %s point_file.xya boundary_file. ??[alpha]"\95 usage = "usage: %s point_file.xya boundary_file.bnd [alpha]"\ 91 96 %os.path.basename(sys.argv[0]) 92 97 # I made up the .bnd affix. Other ideas welcome. -DSG 93 98 if len(sys.argv) < 3: 94 99 print usage
Note: See TracChangeset
for help on using the changeset viewer.