Changeset 2397
- Timestamp:
- Feb 14, 2006, 2:22:14 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pmesh/mesh_interface.py
r2391 r2397 5 5 6 6 from coordinate_transforms.geo_reference import Geo_reference 7 # This is due to pmesh not having a class mesh and 7 from utilities.polygon import populate_polygon 8 9 # This is due to pmesh being a package and a module and 8 10 # the current dir being unknown 9 11 try: … … 11 13 except ImportError: 12 14 from mesh import Mesh 13 from coordinate_transforms.redfearn import redfearn14 from utilities.polygon import populate_polygon15 15 16 16 def create_mesh_from_regions(bounding_polygon, … … 52 52 #IDEA (Ole): Let us work out what the mesh_geo_reference is automatically: 53 53 #If bounding_polygon is absolute it would look as follows: 54 # (assuming bounding_polygon is a Numeric array) 54 55 #xllcorner = min(bounding_polygon[:,0]) 55 56 #yllcorner = min(bounding_polygon[:,1])
Note: See TracChangeset
for help on using the changeset viewer.