Changeset 1911 for inundation/utilities
- Timestamp:
- Oct 14, 2005, 6:44:45 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/utilities/polygon.py
r1910 r1911 36 36 37 37 38 39 #These have been redefined to use separate_by_polygon which will40 #put all inside indices in the first part of the indices array and41 #outside indices in the last42 43 38 def inside_polygon(points, polygon, closed = True, verbose = False): 44 """See separate_points_by_polygon for documentation 39 """Determine points inside a polygon 40 41 Functions inside_polygon and outside_polygon have been defined in 42 terms af separate_by_polygon which will put all inside indices in 43 the first part of the indices array and outside indices in the last 44 45 See separate_points_by_polygon for documentation 45 46 """ 46 47 … … 77 78 78 79 def outside_polygon(points, polygon, closed = True, verbose = False): 79 """See separate_points_by_polygon for documentation 80 """Determine points outside a polygon 81 82 Functions inside_polygon and outside_polygon have been defined in 83 terms af separate_by_polygon which will put all inside indices in 84 the first part of the indices array and outside indices in the last 85 86 See separate_points_by_polygon for documentation 80 87 """ 81 88
Note: See TracChangeset
for help on using the changeset viewer.