2013-09-15 16:18:02 +02:00
|
|
|
<h3>convexHull function</h3>
|
|
|
|
Returns the convex hull of a geometry. It represents the minimum convex geometry that encloses all geometries within the set.
|
|
|
|
|
|
|
|
<h4>Syntax</h4>
|
2013-09-15 19:21:51 +02:00
|
|
|
<pre>convexHull( a, b )</pre>
|
2013-09-15 16:18:02 +02:00
|
|
|
|
|
|
|
<h4>Arguments</h4>
|
2013-09-15 19:21:51 +02:00
|
|
|
a → geometry
|
|
|
|
a → geometry
|
2013-09-15 16:18:02 +02:00
|
|
|
|
|
|
|
<h4>Example</h4>
|
2013-09-15 16:21:17 +02:00
|
|
|
<pre> geomToWKT( convexHull( geomFromWKT( 'LINESTRING(3 3 , 4 4 , 4 10)' )) ) → returns POLYGON((3 3,4 10,4 4,3 3)) </pre>
|