Changeset 1911 for inundation/utilities


Ignore:
Timestamp:
Oct 14, 2005, 6:44:45 AM (19 years ago)
Author:
ole
Message:

Refactored pyvolution to use polygon functionality from new utilities package

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/utilities/polygon.py

    r1910 r1911  
    3636
    3737
    38 
    39 #These have been redefined to use separate_by_polygon which will
    40 #put all inside indices in the first part of the indices array and
    41 #outside indices in the last
    42 
    4338def inside_polygon(points, polygon, closed = True, verbose = False):
    44     """See separate_points_by_polygon for documentation
     39    """Determine points inside a polygon
     40   
     41       Functions inside_polygon and outside_polygon have been defined in
     42       terms af separate_by_polygon which will put all inside indices in
     43       the first part of the indices array and outside indices in the last
     44       
     45       See separate_points_by_polygon for documentation         
    4546    """
    4647
     
    7778
    7879def outside_polygon(points, polygon, closed = True, verbose = False):
    79     """See separate_points_by_polygon for documentation
     80    """Determine points outside a polygon
     81   
     82       Functions inside_polygon and outside_polygon have been defined in
     83       terms af separate_by_polygon which will put all inside indices in
     84       the first part of the indices array and outside indices in the last
     85       
     86       See separate_points_by_polygon for documentation         
    8087    """
    8188
Note: See TracChangeset for help on using the changeset viewer.