Changeset 2392


Ignore:
Timestamp:
Feb 14, 2006, 9:52:12 AM (19 years ago)
Author:
duncan
Message:

Started adding functionality to automatically set a georef. The idea was put on hold.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pmesh/mesh.py

    r2345 r2392  
    360360    def get_vertices(self):
    361361        """
    362         Return a list of the vertices.  The x and y values will be absolute
     362        Return a list of the vertices.  The x and y values will be relative
    363363        Easting and Northings for the zone of the current geo_ref.
    364364        """
     
    478478
    479479    mesh attributes describe the mesh that is produced eg triangles and vertices.
    480    
    481     The Mesh holds user information to define the
     480    All point information is relative to the geo_reference passed in
     481   
     482   
    482483    """
    483484
     
    794795                                           region=region, hole=hole,
    795796                                           geo_reference=center_geo_reference)
     797
     798    def auto_set_geo_reference(self):
     799        """
     800        Automatically set the georeference, based in the minimum x and y
     801        user vertex values.
     802
     803        Not implemented.
     804        Don't implement now.  using the new georeferenced points class
     805        will change this
     806        """
     807        #to do
     808        # find the lower left hand corner
     809
     810        # set all points to that lower left hand corner.
     811        # use change_geo_reference
     812        pass
     813
     814    def change_geo_reference(self, new_geo_reference):
     815        """
     816        """
     817        # chang egeoreference of;
     818        #self.userVertices
     819        #self.holes
     820        #self.regions
     821        pass
    796822       
    797823    def addVertsSegs(self, outlineDict):
Note: See TracChangeset for help on using the changeset viewer.