Ignore:
Timestamp:
Jan 6, 2009, 4:49:43 AM (15 years ago)
Author:
ole
Message:

Feeble start on reader of multiple polygons using csv2dict

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/utilities/polygon.py

    r6001 r6116  
    746746
    747747
     748       
     749# Functions to read and write polygon information       
    748750def read_polygon(filename, split=','):
    749751    """Read points assumed to form a polygon.
     
    752754    """
    753755
    754     #Get polygon
    755756    fid = open(filename)
    756757    lines = fid.readlines()
     
    778779   
    779780
     781def read_tagged_polygons(filename):
     782    """
     783    """
     784    pass
     785   
    780786def populate_polygon(polygon, number_of_points, seed=None, exclude=None):
    781787    """Populate given polygon with uniformly distributed points.
Note: See TracChangeset for help on using the changeset viewer.