[QGIS Commit] r14745 - trunk/qgis/python/plugins/fTools/tools

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Nov 22 18:00:05 EST 2010


Author: cfarmer
Date: 2010-11-22 15:00:05 -0800 (Mon, 22 Nov 2010)
New Revision: 14745

Modified:
   trunk/qgis/python/plugins/fTools/tools/doGeometry.py
   trunk/qgis/python/plugins/fTools/tools/voronoi.py
Log:
add some copywrite info

Modified: trunk/qgis/python/plugins/fTools/tools/doGeometry.py
===================================================================
--- trunk/qgis/python/plugins/fTools/tools/doGeometry.py	2010-11-22 22:49:39 UTC (rev 14744)
+++ trunk/qgis/python/plugins/fTools/tools/doGeometry.py	2010-11-22 23:00:05 UTC (rev 14745)
@@ -550,6 +550,9 @@
 
     
   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 at 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]

Modified: trunk/qgis/python/plugins/fTools/tools/voronoi.py
===================================================================
--- trunk/qgis/python/plugins/fTools/tools/voronoi.py	2010-11-22 22:49:39 UTC (rev 14744)
+++ trunk/qgis/python/plugins/fTools/tools/voronoi.py	2010-11-22 23:00:05 UTC (rev 14745)
@@ -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.
 #



More information about the QGIS-commit mailing list