Changeset 2577 for inundation/fit_interpolate/interpolate.py
- Timestamp:
- Mar 22, 2006, 5:28:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/fit_interpolate/interpolate.py
r2573 r2577 32 32 from utilities.numerical_tools import ensure_numeric, mean, INF 33 33 from utilities.polygon import inside_polygon 34 from geospatial_data.geospatial_data import Geospatial_data 34 35 35 36 from search_functions import search_tree_of_vertices … … 188 189 point_coordinates: Interpolate mesh data to these positions. 189 190 List of coordinate pairs [x, y] of 190 data points (or an nx2 Numeric array) 191 data points or an nx2 Numeric array or a Geospatial_data object 192 191 193 If point_coordinates is absent, the points inputted last time 192 194 this method was called are used, if possible. … … 198 200 """ 199 201 #print "point_coordinates interpolate.interpolate",point_coordinates 200 # Can I interpolate, based on previous point_coordinates? 202 # Can I interpolate, based on previous point_coordinates? 203 if isinstance(point_coordinates,Geospatial_data): 204 point_coordinates = point_coordinates.get_data_points( \ 205 absolute = True) 206 201 207 if point_coordinates is None: 202 208 if self._A_can_be_reused is True and \
Note: See TracChangeset
for help on using the changeset viewer.