Changeset 2378 for inundation/utilities
- Timestamp:
- Feb 13, 2006, 11:06:08 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/utilities/polygon.py
r2375 r2378 170 170 171 171 #Input checks 172 173 172 174 try: 173 175 points = ensure_numeric(points, Float) … … 262 264 263 265 if verbose: print 'Checking input to separate_points_by_polygon' 266 267 264 268 #Input checks 269 270 assert isinstance(closed, bool), 'Keyword argument "closed" must be boolean' 271 assert isinstance(verbose, bool), 'Keyword argument "verbose" must be boolean' 272 273 265 274 try: 266 275 points = ensure_numeric(points, Float) … … 300 309 301 310 if verbose: print 'Calling C-version of inside poly' 311 302 312 count = separate_points_by_polygon(points, polygon, indices, 303 313 int(closed), int(verbose))
Note: See TracChangeset
for help on using the changeset viewer.