[GRASS-SVN] r41204 - grass/trunk/vector/v.delaunay

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 27 12:35:59 EST 2010


Author: hamish
Date: 2010-02-27 12:35:59 -0500 (Sat, 27 Feb 2010)
New Revision: 41204

Removed:
   grass/trunk/vector/v.delaunay/v_delaunay_spearfish60_archsites.png
Modified:
   grass/trunk/vector/v.delaunay/v.delaunay.html
Log:
go back to 3-pane graphic (merge from devbr6)

Modified: grass/trunk/vector/v.delaunay/v.delaunay.html
===================================================================
--- grass/trunk/vector/v.delaunay/v.delaunay.html	2010-02-27 17:33:14 UTC (rev 41203)
+++ grass/trunk/vector/v.delaunay/v.delaunay.html	2010-02-27 17:35:59 UTC (rev 41204)
@@ -5,12 +5,13 @@
 <P>
 
 <BR>
-Delaunay triangulation example:
+Delaunay triangulation and Voronoi diagram example:
 <center>
-<img src=v_delaunay_spearfish60_archsites.png border=1><BR>
+<img src=v_voronoi_delaunay.png border=1><BR>  <!-- installed by v.voronoi -->
 <table border=0 width=590>
 <tr><td><center>
-<i>Delaunay Triangulation</i>
+<i>Delaunay Triangulation (left pane), Voronoi diagram (center pane),
+and both (right pane)</i>
 </center></td></tr>
 </table>
 </center>
@@ -20,9 +21,25 @@
 
 Commands used with the Spearfish dataset to create the above figure.
 <div class="code"><pre>
-  g.region n=4927250 s=4920000 w=588650 e=605850
+  g.region n=4927250 s=4919400 w=588650 e=594850
+  d.frame -c fr=one at=0,100,0,33.3333
+  d.frame -c fr=two at=0,100,33.3333,66.6667
+  d.frame -c fr=three at=0,100,66.6667,100
+
   v.delaunay -lr in=archsites out=arch_delaunay
-  d.vect map=arch_delaunay color=0:0:255
+  d.frame -s one
+  d.vect arch_delaunay
+  d.vect archsites color=red fcolor=red size=5 icon=basic/circle
+
+  v.voronoi -l in=archsites out=arch_voronoi
+  d.frame -s two
+  d.vect arch_voronoi type=line
+  d.vect archsites color=red fcolor=red size=5 icon=basic/circle
+
+  d.frame -s three
+  d.vect arch_voronoi type=line
+  d.vect arch_delaunay color=blue
+  d.vect archsites color=red fcolor=red size=5 icon=basic/circle
 </pre></div>
 
 
@@ -34,6 +51,7 @@
 April 1985, Pages 74-123
 </EM>
 
+
 <H2>SEE ALSO</H2>
 <EM>
 <A HREF="v.voronoi.html">v.voronoi</A>, 
@@ -47,6 +65,5 @@
 Based on "dct" by Geoff Leach, Department of Computer Science, RMIT.<br>
 
 
-
 <p>
 <i>Last changed: $Date: (Mon, 18 Aug 2008) $</i></p>

Deleted: grass/trunk/vector/v.delaunay/v_delaunay_spearfish60_archsites.png
===================================================================
(Binary files differ)



More information about the grass-commit mailing list