Ignore:
Timestamp:
Jan 10, 2007, 4:50:53 PM (18 years ago)
Author:
duncan
Message:

removing read/write of .xya files from loadASCII.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/alpha_shape/alpha_shape.py

    r4144 r4165  
    2121import exceptions
    2222from Numeric import array, Float, divide_safe, sqrt, product
    23 from load_mesh.loadASCII import import_points_file, export_boundary_file
    2423import random
     24
     25from load_mesh.loadASCII import export_boundary_file
     26from anuga.geospatial_data.geospatial_data import Geospatial_data
    2527
    2628class AlphaError(exceptions.Exception):pass
     
    4244    the optimum alpha value will be used.
    4345    """
    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)
    4648   
    4749    AS = Alpha_Shape(points, alpha)
Note: See TracChangeset for help on using the changeset viewer.