Bläddra i källkod

go back to 3-pane graphic (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41204 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 15 år sedan
förälder
incheckning
09cf8101d5

+ 23 - 6
vector/v.delaunay/v.delaunay.html

@@ -5,12 +5,13 @@ to create a Delaunay triangulation vector map (<B>output</B>).
 <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 @@ Delaunay triangulation example:
 
 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 @@ Voronoi Diagrams, ACM Transactions on Graphics, Vol 4, No. 2,
 April 1985, Pages 74-123
 </EM>
 
+
 <H2>SEE ALSO</H2>
 <EM>
 <A HREF="v.voronoi.html">v.voronoi</A>, 
@@ -47,6 +65,5 @@ Paul Kelly, Mentor<br>
 Based on "dct" by Geoff Leach, Department of Computer Science, RMIT.<br>
 
 
-
 <p>
 <i>Last changed: $Date: (Mon, 18 Aug 2008) $</i></p>

BIN
vector/v.delaunay/v_delaunay_spearfish60_archsites.png