Changeset 3797 for anuga_core/source/anuga/geospatial_data
- Timestamp:
- Oct 16, 2006, 5:07:28 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/geospatial_data/test_geospatial_data.py
r3738 r3797 389 389 # Then a more complex polygon 390 390 polygon = [[0,0], [1,0], [0.5,-1], [2, -1], [2,1], [0,1]] 391 391 points = [ [0.5, 1.4], [0.5, 0.5], [1, -0.5], [1.5, 0], [0.5, 1.5], [0.5, -0.5]] 392 392 G = Geospatial_data(points) 393 393 … … 420 420 # Then a more complex polygon 421 421 polygon = [[0,0], [1,0], [0.5,-1], [2, -1], [2,1], [0,1]] 422 422 points = [ [0.5, 1.4], [0.5, 0.5], [1, -0.5], [1.5, 0], [0.5, 1.5], [0.5, -0.5]] 423 423 424 424 # This time just one attribute … … 456 456 457 457 # Then a more complex polygon 458 458 points = [ [0.5, 1.4], [0.5, 0.5], [1, -0.5], [1.5, 0], [0.5, 1.5], [0.5, -0.5]] 459 459 attributes = [2, -4, 5, 76, -2, 0.1] 460 460 G = Geospatial_data(points, attributes) … … 490 490 # Then a more complex polygon 491 491 polygon = [[0,0], [1,0], [0.5,-1], [2, -1], [2,1], [0,1]] 492 492 points = [ [0.5, 1.4], [0.5, 0.5], [1, -0.5], [1.5, 0], [0.5, 1.5], [0.5, -0.5]] 493 493 attributes = [2, -4, 5, 76, -2, 0.1] 494 494 G = Geospatial_data(points, attributes)
Note: See TracChangeset
for help on using the changeset viewer.