Changeset 2397


Ignore:
Timestamp:
Feb 14, 2006, 2:22:14 PM (18 years ago)
Author:
duncan
Message:

comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pmesh/mesh_interface.py

    r2391 r2397  
    55
    66from coordinate_transforms.geo_reference import Geo_reference
    7 # This is due to pmesh not having a class mesh and
     7from utilities.polygon import populate_polygon
     8
     9# This is due to pmesh being a package and a module and
    810# the current dir being unknown
    911try:
     
    1113except ImportError: 
    1214    from mesh import Mesh
    13 from coordinate_transforms.redfearn import redfearn
    14 from utilities.polygon import populate_polygon
    1515   
    1616def create_mesh_from_regions(bounding_polygon,
     
    5252    #IDEA (Ole): Let us work out what the mesh_geo_reference is automatically:
    5353    #If bounding_polygon is absolute it would look as follows:
     54    # (assuming bounding_polygon is a Numeric array)
    5455    #xllcorner = min(bounding_polygon[:,0])
    5556    #yllcorner = min(bounding_polygon[:,1])   
Note: See TracChangeset for help on using the changeset viewer.