Changeset 3180
- Timestamp:
- Jun 19, 2006, 4:58:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pmesh/mesh.py
r3177 r3180 600 600 If geo_reference is None the data is asumed to be absolute 601 601 """ 602 #FIXME: have the user set the tag and resolution here, 603 # but still return the instance, just in case. 602 604 [[x,y]] = self.geo_reference.change_points_geo_ref([x,y], 603 605 points_geo_ref=geo_reference) … … 610 612 611 613 612 def add_vertices(self, data): 613 data = ensure_geospatial(data) 614 def add_vertices(self, point_data): 615 """ 616 Add user vertices. 617 618 The point_data can be a list of (x,y) values, a numeric 619 array or a geospatial_data instance. 620 """ 621 point_data = ensure_geospatial(point_data) 614 622 615 623 # get points relative to the mesh geo_ref 616 points = data.get_data_points(geo_reference=self.geo_reference)624 points = point_data.get_data_points(geo_reference=self.geo_reference) 617 625 #FIXME finish.... 618 626
Note: See TracChangeset
for help on using the changeset viewer.