Skip to content

Commit 9c51929

Browse files
author
cfarmer
committed
add some copywrite info
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14745 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 57f2575 commit 9c51929

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

python/plugins/fTools/tools/doGeometry.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,9 @@ def voronoi_polygons( self ):
550550

551551

552552
def clip_voronoi(self, edges, c, width, height, extent, exX, exY):
553+
""" Clip voronoi function based on code written for Inkscape
554+
Copyright (C) 2010 Alvin Penner, penner@vaxxine.com
555+
"""
553556
def clip_line(x1, y1, x2, y2, w, h, x, y):
554557
if x1 < 0-x and x2 < 0-x:
555558
return [0, 0, 0, 0]

python/plugins/fTools/tools/voronoi.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# Translated to Python by Bill Simons
55
# September, 2005
66
#
7+
# Additional changes by Carson Farmer added November 2010
8+
#
79
# Calculate Delaunay triangulation or the Voronoi polygons for a set of
810
# 2D input points.
911
#

0 commit comments

Comments
 (0)