<?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%2Fpgsplit</id>
	<title>Programmer Guide/Command Reference/EVAL/pgsplit - 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%2Fpgsplit"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Command_Reference/EVAL/pgsplit&amp;action=history"/>
	<updated>2026-05-07T00:54:20Z</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/pgsplit&amp;diff=4193&amp;oldid=prev</id>
		<title>Christian at 18:29, 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/pgsplit&amp;diff=4193&amp;oldid=prev"/>
		<updated>2011-04-21T18:29:19Z</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:29, 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;pgsplit(&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;PX1&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;PY1&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt;), &amp;lt;var&amp;gt;PX2&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;PY2&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&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;pgsplit(&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;PX1&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;PY1&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt;), &amp;lt;var&amp;gt;PX2&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;PY2&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&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 the polygon of &#039;&#039;X&#039;&#039; to be splitted; 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 the polygon of &#039;&#039;X&#039;&#039; to be splitted; 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;PX1, PY1, PX2, PY2&amp;lt;/var&amp;gt;: The points &amp;lt;&amp;#039;&amp;#039;PX1&amp;#039;&amp;#039;,&amp;#039;&amp;#039;PY1&amp;#039;&amp;#039;&amp;gt; and &amp;lt;&amp;#039;&amp;#039;PX2&amp;#039;&amp;#039;,&amp;#039;&amp;#039;PY2&amp;#039;&amp;#039;&amp;gt; defining the line to split the polygon. There must be exactly two intersections of the line with the polygon!&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;PX1, PY1, PX2, PY2&amp;lt;/var&amp;gt;: The points &amp;lt;&amp;#039;&amp;#039;PX1&amp;#039;&amp;#039;,&amp;#039;&amp;#039;PY1&amp;#039;&amp;#039;&amp;gt; and &amp;lt;&amp;#039;&amp;#039;PX2&amp;#039;&amp;#039;,&amp;#039;&amp;#039;PY2&amp;#039;&amp;#039;&amp;gt; defining the line to split the polygon. There must be exactly two intersections of the line with the polygon!&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 two split parts of the polygon.&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 two split parts of the polygon.&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/pgsplit&amp;diff=3867&amp;oldid=prev</id>
		<title>193.171.195.48 at 08:33, 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/pgsplit&amp;diff=3867&amp;oldid=prev"/>
		<updated>2011-04-20T08:33:33Z</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 10:33, 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-l8&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&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 two split parts of the polygon.&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 two split parts of the polygon.&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]], [[../pgtrans|pgtrans]], [[../pghull|pghull]]&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]], [[../pgtrans|pgtrans]], [[../pghull|pghull]]&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;&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/pgsplit&amp;diff=3866&amp;oldid=prev</id>
		<title>193.171.195.48: Created page with &#039;{{DISPLAYTITLE:{{SUBPAGENAME}}}} Use a line to split a polygon into two parts. ;Usage: :&lt;code&gt;pgsplit(&lt;var&gt;X&lt;/var&gt;, &lt;var&gt;IX&lt;/var&gt;, &lt;var&gt;PX1&lt;sub&gt;scalar&lt;/sub&gt;&lt;/var&gt;, &lt;var&gt;PY1&lt;sub&gt;s…&#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/pgsplit&amp;diff=3866&amp;oldid=prev"/>
		<updated>2011-04-20T08:33:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{DISPLAYTITLE:{{SUBPAGENAME}}}} Use a line to split a polygon into two parts. ;Usage: :&amp;lt;code&amp;gt;pgsplit(&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;PX1&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;PY1&amp;lt;sub&amp;gt;s…&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;
Use a line to split a polygon into two parts.&lt;br /&gt;
;Usage:&lt;br /&gt;
:&amp;lt;code&amp;gt;pgsplit(&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;PX1&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;PY1&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt;), &amp;lt;var&amp;gt;PX2&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt;, &amp;lt;var&amp;gt;PY2&amp;lt;sub&amp;gt;scalar&amp;lt;/sub&amp;gt;&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 splitted; 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;PX1, PY1, PX2, PY2&amp;lt;/var&amp;gt;: The points &amp;lt;&amp;#039;&amp;#039;PX1&amp;#039;&amp;#039;,&amp;#039;&amp;#039;PY1&amp;#039;&amp;#039;&amp;gt; and &amp;lt;&amp;#039;&amp;#039;PX2&amp;#039;&amp;#039;,&amp;#039;&amp;#039;PY2&amp;#039;&amp;#039;&amp;gt; defining the line to split the polygon. There must be exactly two intersections of the line with the polygon!&lt;br /&gt;
;Result: The result &amp;#039;&amp;#039;r&amp;#039;&amp;#039; is a [[../#polygons|polygon-stream]] containing the two split parts of the polygon.&lt;br /&gt;
;See also: [[../pginit|pginit]], [[../pgget|pgget]], [[../pgitest|pgitest]], [[../pgiline|pgiline]], [[../pgxgrid|pgxgrid]], [[../pgtrans|pgtrans]], [[../pghull|pghull]]&lt;br /&gt;
&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>