Changeset 3182 for inundation/pmesh/mesh_interface.py
- Timestamp:
- Jun 19, 2006, 5:08:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pmesh/mesh_interface.py
r3056 r3182 5 5 6 6 from coordinate_transforms.geo_reference import Geo_reference,DEFAULT_ZONE 7 from utilities.polygon import populate_polygon7 from utilities.polygon import point_in_polygon ,populate_polygon 8 8 from utilities.numerical_tools import ensure_numeric 9 9 from Numeric import Float … … 127 127 else: 128 128 bounding_polygon_absolute = bounding_polygon 129 130 [inner_point] = populate_polygon(bounding_polygon_absolute, 131 1, exclude = excluded_polygons) 129 # This isn't working it seems 130 #[inner_point] = populate_polygon(bounding_polygon_absolute, 131 # 1, exclude = excluded_polygons) 132 133 inner_point = point_in_polygon(bounding_polygon_absolute) 132 134 inner = m.add_region(inner_point[0], inner_point[1]) 133 135 inner.setMaxArea(maximum_triangle_area)
Note: See TracChangeset
for help on using the changeset viewer.