Changeset 8004
- Timestamp:
- Sep 4, 2010, 9:46:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/structures/structure_operator.py
r7998 r8004 1 from anuga.geometry.polygon import inside_polygon, polygon_area 2 from anuga.config import g 1 import anuga 3 2 import numpy as num 4 3 import math … … 117 116 ep = self.inlet_equiry_points[i] 118 117 119 area = polygon_area(polygon)118 area = anuga.polygon_area(polygon) 120 119 121 120 msg = 'Polygon %s ' %(polygon) … … 124 123 125 124 msg = 'Enquiry point falls inside an exchange polygon.' 126 assert not inside_polygon(ep, polygon), msg125 assert not anuga.inside_polygon(ep, polygon), msg 127 126 128 127
Note: See TracChangeset
for help on using the changeset viewer.