<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?action=history&amp;feed=atom&amp;title=Programmer_Guide%2FCommand_Reference%2FEVAL%2Fpghull</id>
	<title>Programmer Guide/Command Reference/EVAL/pghull - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?action=history&amp;feed=atom&amp;title=Programmer_Guide%2FCommand_Reference%2FEVAL%2Fpghull"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Command_Reference/EVAL/pghull&amp;action=history"/>
	<updated>2026-05-07T07:58:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Command_Reference/EVAL/pghull&amp;diff=4191&amp;oldid=prev</id>
		<title>Christian at 18:28, 21 April 2011</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Command_Reference/EVAL/pghull&amp;diff=4191&amp;oldid=prev"/>
		<updated>2011-04-21T18:28:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:28, 21 April 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;code&amp;gt;pghull(&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;Y&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IY&amp;lt;/var&amp;gt;)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;code&amp;gt;pghull(&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;Y&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IY&amp;lt;/var&amp;gt;)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;:a [[../#polygons|closed point-list]] or a [[../#polygons|polygon-stream]] defining one or more polygons.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;:a [[../#polygons|closed point-list]] or a [[../#polygons|polygon-stream]] defining one or more polygons.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt;:the index of a polygon of &#039;&#039;X&#039;&#039;; 0 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;= &lt;/del&gt;&amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt; &amp;lt; &amp;lt;code&amp;gt;[[../pgget|pgget]](&#039;&#039;X&#039;&#039;)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt;:the index of a polygon of &#039;&#039;X&#039;&#039;; 0 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;le; &lt;/ins&gt;&amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt; &amp;lt; &amp;lt;code&amp;gt;[[../pgget|pgget]](&#039;&#039;X&#039;&#039;)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;Y&amp;lt;/var&amp;gt;:a [[../#polygons|closed point-list]] or a [[../#polygons|polygon-stream]] defining one or more polygons.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;Y&amp;lt;/var&amp;gt;:a [[../#polygons|closed point-list]] or a [[../#polygons|polygon-stream]] defining one or more polygons.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;IY&amp;lt;/var&amp;gt;:the index of a polygon of &#039;&#039;Y&#039;&#039;; 0 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;= &lt;/del&gt;&amp;lt;var&amp;gt;IY&amp;lt;/var&amp;gt; &amp;lt; &amp;lt;code&amp;gt;[[../pgget|pgget]](&#039;&#039;Y&#039;&#039;)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;IY&amp;lt;/var&amp;gt;:the index of a polygon of &#039;&#039;Y&#039;&#039;; 0 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;le; &lt;/ins&gt;&amp;lt;var&amp;gt;IY&amp;lt;/var&amp;gt; &amp;lt; &amp;lt;code&amp;gt;[[../pgget|pgget]](&#039;&#039;Y&#039;&#039;)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Result: The result &amp;#039;&amp;#039;r&amp;#039;&amp;#039; is a [[../#polygons|polygon-stream]] containing the hull polygon of &amp;#039;&amp;#039;X&amp;lt;sub&amp;gt;IX&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;Y&amp;lt;sub&amp;gt;IY&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;. The function fails if the two polygons have no overlapping regions.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Result: The result &amp;#039;&amp;#039;r&amp;#039;&amp;#039; is a [[../#polygons|polygon-stream]] containing the hull polygon of &amp;#039;&amp;#039;X&amp;lt;sub&amp;gt;IX&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;Y&amp;lt;sub&amp;gt;IY&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;. The function fails if the two polygons have no overlapping regions.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;See also: [[../pginit|pginit]], [[../pgget|pgget]], [[../pgitest|pgitest]], [[../pgiline|pgiline]], [[../pgxgrid|pgxgrid]], [[../pgsplit|pgsplit]], [[../pgtrans|pgtrans]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;See also: [[../pginit|pginit]], [[../pgget|pgget]], [[../pgitest|pgitest]], [[../pgiline|pgiline]], [[../pgxgrid|pgxgrid]], [[../pgsplit|pgsplit]], [[../pgtrans|pgtrans]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[../#Functions|&amp;lt;function list&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[../#Functions|&amp;lt;function list&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Christian</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Command_Reference/EVAL/pghull&amp;diff=3879&amp;oldid=prev</id>
		<title>193.171.195.48 at 09:22, 20 April 2011</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Command_Reference/EVAL/pghull&amp;diff=3879&amp;oldid=prev"/>
		<updated>2011-04-20T09:22:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:22, 20 April 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;code&amp;gt;pghull(&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;Y&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IY&amp;lt;/var&amp;gt;)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:&amp;lt;code&amp;gt;pghull(&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;Y&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IY&amp;lt;/var&amp;gt;)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;:a [[../#polygons|closed point-list]] or a [[../#polygons|polygon-stream]] defining one or more polygons.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;:a [[../#polygons|closed point-list]] or a [[../#polygons|polygon-stream]] defining one or more polygons.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The &lt;/del&gt;index of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;polygon of &#039;&#039;X&#039;&#039; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to be tested&lt;/del&gt;; 0 &amp;lt;= &amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt; &amp;lt; &amp;lt;code&amp;gt;[[../pgget|pgget]](&#039;&#039;X&#039;&#039;)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/ins&gt;index of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a &lt;/ins&gt;polygon of &#039;&#039;X&#039;&#039;; 0 &amp;lt;= &amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt; &amp;lt; &amp;lt;code&amp;gt;[[../pgget|pgget]](&#039;&#039;X&#039;&#039;)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;DX, DY&lt;/del&gt;&amp;lt;/var&amp;gt;: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;shift values for x and y (default=0, no shift)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Y&lt;/ins&gt;&amp;lt;/var&amp;gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a [[../#polygons|closed &lt;/ins&gt;point&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-list]] or a &lt;/ins&gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;../#polygons|polygon&lt;/ins&gt;-&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;stream&lt;/ins&gt;]] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;defining one or more polygons.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;::* shift the center &lt;/del&gt;point &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;code&amp;gt;&amp;lt;xc,yc&amp;gt;&amp;lt;/code&amp;gt; of &#039;&#039;X&amp;lt;sub&amp;gt;IX&amp;lt;/sub&amp;gt;&#039;&#039;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;IY&lt;/ins&gt;&amp;lt;/var&amp;gt;:the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;index &lt;/ins&gt;of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;a polygon &lt;/ins&gt;of &#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Y&#039;&#039;; 0 &amp;lt;= &lt;/ins&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;var&lt;/ins&gt;&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;IY&lt;/ins&gt;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;var&lt;/ins&gt;&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt; &lt;/ins&gt;&amp;lt;code&amp;gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;../pgget|pgget&lt;/ins&gt;]](&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;Y&#039;&#039;&lt;/ins&gt;)&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:::&amp;lt;code&amp;gt;&amp;lt;x&lt;/del&gt;[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;i] , y&lt;/del&gt;[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;i]&amp;gt; &lt;/del&gt;-&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt; &amp;lt;x[i&lt;/del&gt;]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;+&amp;lt;var&amp;gt;DX&amp;lt;/var&amp;gt; , y[i&lt;/del&gt;]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;+&amp;lt;var&amp;gt;DY&amp;lt;/var&amp;gt;&amp;gt;&amp;lt;/code&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Result: The result &#039;&#039;r&#039;&#039; is a [[../#polygons|polygon-stream]] containing the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;hull polygon of &lt;/ins&gt;&#039;&#039;X&amp;lt;sub&amp;gt;IX&amp;lt;/sub&amp;gt;&#039;&#039; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and &#039;&#039;Y&amp;lt;sub&amp;gt;IY&amp;lt;/sub&amp;gt;&#039;&#039;. The function fails if the two polygons have no overlapping regions&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:;&amp;lt;var&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;KX, KY&lt;/del&gt;&amp;lt;/var&amp;gt;: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;scaling factors; both factors must be greater than zero (default=1, no scaling)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;See also: [[../pginit|pginit]], [[../pgget|pgget]], [[../pgitest|pgitest]], [[../pgiline|pgiline]], [[../pgxgrid|pgxgrid]], [[../pgsplit|pgsplit]], [[../&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pgtrans&lt;/ins&gt;|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pgtrans&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;::* scale &lt;/del&gt;the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;distances &lt;/del&gt;of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;corners &lt;/del&gt;of &#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;X&lt;/del&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sub&lt;/del&gt;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;IX&lt;/del&gt;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sub&lt;/del&gt;&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039; to the center point&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:::&lt;/del&gt;&amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;x&lt;/del&gt;[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;i] , y&lt;/del&gt;[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;i&lt;/del&gt;]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt; -&amp;gt; &amp;lt;(x[i&lt;/del&gt;]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-xc)*&amp;lt;var&amp;gt;KX&amp;lt;/var&amp;gt;+xc , &lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;y[i]-yc&lt;/del&gt;)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*&amp;lt;var&amp;gt;KY&amp;lt;/var&amp;gt;&#039;+yc&amp;gt;&lt;/del&gt;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:;&amp;lt;var&amp;gt;A&amp;lt;/var&amp;gt;: rotation angle in degree (default=0, no rotation); a scaling factors (default=1)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;::*rotate the polygon around the center point&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Result: The result &#039;&#039;r&#039;&#039; is a [[../#polygons|polygon-stream]] containing the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;transformed &lt;/del&gt;&#039;&#039;X&amp;lt;sub&amp;gt;IX&amp;lt;/sub&amp;gt;&#039;&#039;.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;See also: [[../pginit|pginit]], [[../pgget|pgget]], [[../pgitest|pgitest]], [[../pgiline|pgiline]], [[../pgxgrid|pgxgrid]], [[../pgsplit|pgsplit]], [[../&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pghull&lt;/del&gt;|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pghull&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[../#Functions|&amp;lt;function list&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[../#Functions|&amp;lt;function list&amp;gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>193.171.195.48</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Command_Reference/EVAL/pghull&amp;diff=3877&amp;oldid=prev</id>
		<title>193.171.195.48: Created page with &#039;{{DISPLAYTITLE:{{SUBPAGENAME}}}} Calculate the hull polygon of two polygons. ;Usage: :&lt;code&gt;pghull(&lt;var&gt;X&lt;/var&gt;, &lt;var&gt;IX&lt;/var&gt;, &lt;var&gt;Y&lt;/var&gt;, &lt;var&gt;IY&lt;/var&gt;)&lt;/code&gt; :;&lt;var&gt;X&lt;/var&gt;…&#039;</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Command_Reference/EVAL/pghull&amp;diff=3877&amp;oldid=prev"/>
		<updated>2011-04-20T09:19:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{DISPLAYTITLE:{{SUBPAGENAME}}}} Calculate the hull polygon of two polygons. ;Usage: :&amp;lt;code&amp;gt;pghull(&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;Y&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IY&amp;lt;/var&amp;gt;)&amp;lt;/code&amp;gt; :;&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:{{SUBPAGENAME}}}}&lt;br /&gt;
Calculate the hull polygon of two polygons.&lt;br /&gt;
;Usage:&lt;br /&gt;
:&amp;lt;code&amp;gt;pghull(&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;Y&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;IY&amp;lt;/var&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
:;&amp;lt;var&amp;gt;X&amp;lt;/var&amp;gt;:a [[../#polygons|closed point-list]] or a [[../#polygons|polygon-stream]] defining one or more polygons.&lt;br /&gt;
:;&amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt;:The index of the polygon of &amp;#039;&amp;#039;X&amp;#039;&amp;#039; to be tested; 0 &amp;lt;= &amp;lt;var&amp;gt;IX&amp;lt;/var&amp;gt; &amp;lt; &amp;lt;code&amp;gt;[[../pgget|pgget]](&amp;#039;&amp;#039;X&amp;#039;&amp;#039;)&amp;lt;/code&amp;gt;&lt;br /&gt;
:;&amp;lt;var&amp;gt;DX, DY&amp;lt;/var&amp;gt;: shift values for x and y (default=0, no shift)&lt;br /&gt;
::* shift the center point &amp;lt;code&amp;gt;&amp;lt;xc,yc&amp;gt;&amp;lt;/code&amp;gt; of &amp;#039;&amp;#039;X&amp;lt;sub&amp;gt;IX&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;&lt;br /&gt;
:::&amp;lt;code&amp;gt;&amp;lt;x[i] , y[i]&amp;gt; -&amp;gt; &amp;lt;x[i]+&amp;lt;var&amp;gt;DX&amp;lt;/var&amp;gt; , y[i]+&amp;lt;var&amp;gt;DY&amp;lt;/var&amp;gt;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:;&amp;lt;var&amp;gt;KX, KY&amp;lt;/var&amp;gt;: scaling factors; both factors must be greater than zero (default=1, no scaling)&lt;br /&gt;
::* scale the distances of corners of &amp;#039;&amp;#039;X&amp;lt;sub&amp;gt;IX&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039; to the center point&lt;br /&gt;
:::&amp;lt;code&amp;gt;&amp;lt;x[i] , y[i]&amp;gt; -&amp;gt; &amp;lt;(x[i]-xc)*&amp;lt;var&amp;gt;KX&amp;lt;/var&amp;gt;+xc , (y[i]-yc)*&amp;lt;var&amp;gt;KY&amp;lt;/var&amp;gt;&amp;#039;+yc&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:;&amp;lt;var&amp;gt;A&amp;lt;/var&amp;gt;: rotation angle in degree (default=0, no rotation); a scaling factors (default=1)&lt;br /&gt;
::*rotate the polygon around the center point&lt;br /&gt;
;Result: The result &amp;#039;&amp;#039;r&amp;#039;&amp;#039; is a [[../#polygons|polygon-stream]] containing the transformed &amp;#039;&amp;#039;X&amp;lt;sub&amp;gt;IX&amp;lt;/sub&amp;gt;&amp;#039;&amp;#039;.&lt;br /&gt;
;See also: [[../pginit|pginit]], [[../pgget|pgget]], [[../pgitest|pgitest]], [[../pgiline|pgiline]], [[../pgxgrid|pgxgrid]], [[../pgsplit|pgsplit]], [[../pghull|pghull]]&lt;br /&gt;
&lt;br /&gt;
[[../#Functions|&amp;lt;function list&amp;gt;]]&lt;/div&gt;</summary>
		<author><name>193.171.195.48</name></author>
	</entry>
</feed>