Skip to content

Commit

Permalink
add some copywrite info
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14745 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer committed Nov 22, 2010
1 parent 8710328 commit fac2a3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/fTools/tools/doGeometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,9 @@ def voronoi_polygons( self ):


def clip_voronoi(self, edges, c, width, height, extent, exX, exY):
""" Clip voronoi function based on code written for Inkscape
Copyright (C) 2010 Alvin Penner, penner@vaxxine.com
"""
def clip_line(x1, y1, x2, y2, w, h, x, y):
if x1 < 0-x and x2 < 0-x:
return [0, 0, 0, 0]
Expand Down
2 changes: 2 additions & 0 deletions python/plugins/fTools/tools/voronoi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
# Translated to Python by Bill Simons
# September, 2005
#
# Additional changes by Carson Farmer added November 2010
#
# Calculate Delaunay triangulation or the Voronoi polygons for a set of
# 2D input points.
#
Expand Down

0 comments on commit fac2a3c

Please sign in to comment.