Changeset 4165 for anuga_core/source/anuga/alpha_shape
- Timestamp:
- Jan 10, 2007, 4:50:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/alpha_shape/alpha_shape.py
r4144 r4165 21 21 import exceptions 22 22 from Numeric import array, Float, divide_safe, sqrt, product 23 from load_mesh.loadASCII import import_points_file, export_boundary_file24 23 import random 24 25 from load_mesh.loadASCII import export_boundary_file 26 from anuga.geospatial_data.geospatial_data import Geospatial_data 25 27 26 28 class AlphaError(exceptions.Exception):pass … … 42 44 the optimum alpha value will be used. 43 45 """ 44 point_dict = import_points_file(point_file)45 points = point_dict['pointlist']46 geospatial = Geospatial_data(point_file) 47 points = geospatial.get_data_points(absolute=False) 46 48 47 49 AS = Alpha_Shape(points, alpha)
Note: See TracChangeset
for help on using the changeset viewer.