Changeset 6533 for branches/numpy/anuga/geospatial_data
- Timestamp:
- Mar 17, 2009, 4:02:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy/anuga/geospatial_data/geospatial_data.py
r6517 r6533 1806 1806 points = G_small.get_data_points() 1807 1807 1808 #FIXME: Remove points outside boundary polygon1809 # print 'new point',len(points)1810 #1811 # new_points=[]1812 # new_points=array([],typecode=Float)1813 # new_points=resize(new_points,(len(points),2))1814 # print "BOUNDARY", boundary_poly1815 # for i,point in enumerate(points):1816 # if is_inside_polygon(point,boundary_poly, verbose=True):1817 # new_points[i] = point1818 # print"WOW",i,new_points[i]1819 # points = new_points1820 1821 1808 if verbose: print "Number of points in sample to compare: ", len(points) 1822 1809
Note: See TracChangeset
for help on using the changeset viewer.