|
@@ -1,56 +1,60 @@
|
|
|
-<H2>DESCRIPTION</H2>
|
|
|
-
|
|
|
-v.hull computes the convex hull of a vector points map and outputs the
|
|
|
-convex hull polygon as a vector area map. The convex hull, or convex envelope,
|
|
|
-for an object or a set of objects is the minimal convex set containing the
|
|
|
-given objects. This module creates a vector polygon containing all vector
|
|
|
-points of the input map.
|
|
|
-<P>
|
|
|
-In the case of 3D input points, the hull will be a 3D hull as well, unless the
|
|
|
-user specifies the <b>-f</b> flag. The 3D hull will be composed of triangular
|
|
|
-faces.
|
|
|
-<P>
|
|
|
-
|
|
|
-<BR>
|
|
|
-Example of <em>v.hull</em> output:
|
|
|
+<h2>DESCRIPTION</h2>
|
|
|
+
|
|
|
+<em>v.hull</em> computes the convex hull of a vector map and outputs
|
|
|
+the convex hull polygon as a vector area map. The convex hull, or
|
|
|
+convex envelope, for an object or a set of objects is the minimal
|
|
|
+convex set containing the given objects. This module creates a vector
|
|
|
+polygon containing all vector points or lines of the input map.
|
|
|
+
|
|
|
+<p>
|
|
|
+In the case of 3D input points, the hull will be a 3D hull as well,
|
|
|
+unless the user specifies the <b>-f</b> flag. The 3D hull will be
|
|
|
+composed of triangular faces.
|
|
|
+
|
|
|
<center>
|
|
|
-<img src=v_hull.png border=1><BR>
|
|
|
+<img src=v_hull.png border=1><br>
|
|
|
<table border=0 width=590>
|
|
|
<tr><td><center>
|
|
|
-<i>Convex hull polygon created with v.hull</i>
|
|
|
+Fig: Convex hull polygon created with <em>v.hull</em>
|
|
|
</center></td></tr>
|
|
|
</table>
|
|
|
</center>
|
|
|
|
|
|
-<H2>EXAMPLE</H2>
|
|
|
+<h2>EXAMPLE</h2>
|
|
|
|
|
|
Example of <em>v.hull</em> 3D output (using two random 3D point clouds):
|
|
|
+
|
|
|
<div class="code"><pre>
|
|
|
g.region rural_1m -p
|
|
|
-r.mapcalc "zero = 0"
|
|
|
-v.random -z out=random3d_a n=10 zmin=0 zmax=200
|
|
|
-v.random -z out=random3d_b n=15 zmin=400 zmax=600
|
|
|
-v.hull random3d_a out=random3d_a_hull
|
|
|
-v.hull random3d_b out=random3d_b_hull
|
|
|
-nviz zero vect=random3d_a_hull,random3d_b_hull
|
|
|
+r.mapcalc zero=0
|
|
|
+v.random -z output=random3d_a n=10 zmin=0 zmax=200
|
|
|
+v.random -z output=random3d_b n=15 zmin=400 zmax=600
|
|
|
+v.hull input=random3d_a output=random3d_a_hull
|
|
|
+v.hull input=random3d_b output=random3d_b_hull
|
|
|
+nviz elevation=zero vect=random3d_a_hull,random3d_b_hull
|
|
|
</pre></div>
|
|
|
|
|
|
-<H2>REFERENCES</H2>
|
|
|
-<EM>M. de Berg, M. van Kreveld, M. Overmars, O. Schwarzkopf, (2000).
|
|
|
- Computational geometry, chapter 1.1, 2-8.</EM>
|
|
|
+<h2>REFERENCES</h2>
|
|
|
+
|
|
|
+<ul>
|
|
|
+ <li>M. de Berg, M. van Kreveld, M. Overmars, O. Schwarzkopf,
|
|
|
+ (2000). Computational geometry, chapter 1.1, 2-8.
|
|
|
+ <li>J. O'Rourke, (1998). Computational Geometry in C (Second
|
|
|
+ Edition), chapter 4.
|
|
|
+</ul>
|
|
|
|
|
|
-<BR>
|
|
|
+<h2>SEE ALSO</h2>
|
|
|
|
|
|
-<EM>J. O'Rourke, (1998).
|
|
|
- Computational Geometry in C (Second Edition), chapter 4.</EM>
|
|
|
+<em>
|
|
|
+<a href="v.delaunay.html">v.delaunay</a>
|
|
|
+</em>
|
|
|
|
|
|
-<H2>SEE ALSO</H2>
|
|
|
-<EM>
|
|
|
-<A HREF="v.delaunay.html">v.delaunay</A></EM>
|
|
|
+<h2>AUTHOR</h2>
|
|
|
|
|
|
-<H2>AUTHOR</H2>
|
|
|
Andrea Aime, Modena, Italy<br>
|
|
|
Markus Neteler, ITC-irst (update to 5.7)<br>
|
|
|
-Benjamin Ducke, CAU Kiel (3D hull support)
|
|
|
+Benjamin Ducke, CAU Kiel (3D hull support)<br>
|
|
|
+Martin Landa, CTU in Prague, Czech Republic (vector lines support)
|
|
|
|
|
|
-<p><i>Last changed: $Date$</i></p>
|
|
|
+<p>
|
|
|
+<i>Last changed: $Date$</i>
|