Changeset 3057
- Timestamp:
- Jun 2, 2006, 3:25:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/test_mesh.py
r3052 r3057 15 15 from Numeric import allclose, array 16 16 17 from coordinate_transforms.geo_reference import Geo_reference 17 18 from utilities.polygon import is_inside_polygon 18 19 … … 942 943 self.failUnless(loners==[0], 943 944 'FAILED!') 945 946 def FIXME_test_mesh_get_boundary_polygon_with_georeferencing(self): 947 948 # test 949 a = [0.0, 0.0] 950 b = [4.0, 0.0] 951 c = [0.0, 4.0] 952 953 absolute_points = [a, b, c] 954 vertices = [[0,1,2]] 944 955 956 geo = Geo_reference(56,67,-56) 957 958 relative_points = geo.change_points_geo_ref(absolute_points) 959 #relative_points = absolute_points #uncomment to make test pass! 960 mesh = Mesh(relative_points, vertices, geo_reference=geo) 961 boundary_polygon = mesh.get_boundary_polygon() 962 assert allclose(absolute_points, boundary_polygon) 945 963 #------------------------------------------------------------- 946 964 if __name__ == "__main__":
Note: See TracChangeset
for help on using the changeset viewer.