<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Jörg RädlerJörg Rädler</title>
	<atom:link href="http://www.j-raedler.de/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.j-raedler.de</link>
	<description>programming &#124; simulation &#124; visualization</description>
	<lastBuildDate>Mon, 08 Apr 2013 20:01:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on Polygon by jraedler</title>
		<link>http://www.j-raedler.de/projects/polygon/comment-page-1/#comment-3180</link>
		<dc:creator>jraedler</dc:creator>
		<pubDate>Mon, 08 Apr 2013 20:01:16 +0000</pubDate>
		<guid isPermaLink="false">http://wp.j-raedler.de/?page_id=60#comment-3180</guid>
		<description><![CDATA[Hi Jorge,

I cannot reproduce any problems with this example. In my tests it gives a rectangular contour with a rectangular hole in the center. Please send me a complete script with some example output and information on your platform and versions of python and Polygon.

Jörg]]></description>
		<content:encoded><![CDATA[<p>Hi Jorge,</p>
<p>I cannot reproduce any problems with this example. In my tests it gives a rectangular contour with a rectangular hole in the center. Please send me a complete script with some example output and information on your platform and versions of python and Polygon.</p>
<p>Jörg</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Polygon by Jorge Vieyra</title>
		<link>http://www.j-raedler.de/projects/polygon/comment-page-1/#comment-3170</link>
		<dc:creator>Jorge Vieyra</dc:creator>
		<pubDate>Mon, 08 Apr 2013 09:34:22 +0000</pubDate>
		<guid isPermaLink="false">http://wp.j-raedler.de/?page_id=60#comment-3170</guid>
		<description><![CDATA[Hi Jörg,

Thanks for the effort! However, I have a question and I am not sure if it is GPC related or in any case if there is something that can be done about it.

My problem is when I want to add multiple polygons that leave a hole in the center. For example, 

import Polygon.Shapes as ps
from math import pi

polys = [ps.Polygon([[1,1], [4,1],[4,2],[1,2]], hole = True) for i in range(4)]
polys[1].rotate(pi/2,1,1)
polys[1].shift(1,0)
polys[2].shift(0,2)
polys[3].rotate(pi/2,1,1)
polys[3].shift(3,0)
pp = reduce(lambda x,y: x+y, polys)

In principle these 4 rectangles should leave an empty square in the center. However, the result is  a square with filled in center.

I want to have polygons with multiple holes when I make an union. 

Thanks!
Best regards,
Jorge]]></description>
		<content:encoded><![CDATA[<p>Hi Jörg,</p>
<p>Thanks for the effort! However, I have a question and I am not sure if it is GPC related or in any case if there is something that can be done about it.</p>
<p>My problem is when I want to add multiple polygons that leave a hole in the center. For example, </p>
<p>import Polygon.Shapes as ps<br />
from math import pi</p>
<p>polys = [ps.Polygon([[1,1], [4,1],[4,2],[1,2]], hole = True) for i in range(4)]<br />
polys[1].rotate(pi/2,1,1)<br />
polys[1].shift(1,0)<br />
polys[2].shift(0,2)<br />
polys[3].rotate(pi/2,1,1)<br />
polys[3].shift(3,0)<br />
pp = reduce(lambda x,y: x+y, polys)</p>
<p>In principle these 4 rectangles should leave an empty square in the center. However, the result is  a square with filled in center.</p>
<p>I want to have polygons with multiple holes when I make an union. </p>
<p>Thanks!<br />
Best regards,<br />
Jorge</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Polygon by Zim</title>
		<link>http://www.j-raedler.de/projects/polygon/comment-page-1/#comment-2614</link>
		<dc:creator>Zim</dc:creator>
		<pubDate>Thu, 07 Feb 2013 17:19:01 +0000</pubDate>
		<guid isPermaLink="false">http://wp.j-raedler.de/?page_id=60#comment-2614</guid>
		<description><![CDATA[Works like a charm! Thank you very much!

Also thanks for the fantastic library, it has been very useful, especially since there aren&#039;t many libraries like it in Python.]]></description>
		<content:encoded><![CDATA[<p>Works like a charm! Thank you very much!</p>
<p>Also thanks for the fantastic library, it has been very useful, especially since there aren&#8217;t many libraries like it in Python.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Polygon by jraedler</title>
		<link>http://www.j-raedler.de/projects/polygon/comment-page-1/#comment-2612</link>
		<dc:creator>jraedler</dc:creator>
		<pubDate>Thu, 07 Feb 2013 09:37:41 +0000</pubDate>
		<guid isPermaLink="false">http://wp.j-raedler.de/?page_id=60#comment-2612</guid>
		<description><![CDATA[Hi Zim,

I changed a check function in the C library. Now instances of subclasses should be accepted by most methods. The changes are checked into the git repository at

https://bitbucket.org/jraedler/polygon2 ,
https://bitbucket.org/jraedler/polygon3 .

There are no packages, you have to download or checkout the master branch and compile it yourself.

Greetings,
	Jörg]]></description>
		<content:encoded><![CDATA[<p>Hi Zim,</p>
<p>I changed a check function in the C library. Now instances of subclasses should be accepted by most methods. The changes are checked into the git repository at</p>
<p><a href="https://bitbucket.org/jraedler/polygon2" rel="nofollow">https://bitbucket.org/jraedler/polygon2</a> ,<br />
<a href="https://bitbucket.org/jraedler/polygon3" rel="nofollow">https://bitbucket.org/jraedler/polygon3</a> .</p>
<p>There are no packages, you have to download or checkout the master branch and compile it yourself.</p>
<p>Greetings,<br />
	Jörg</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Polygon by Zim</title>
		<link>http://www.j-raedler.de/projects/polygon/comment-page-1/#comment-2611</link>
		<dc:creator>Zim</dc:creator>
		<pubDate>Thu, 07 Feb 2013 05:36:38 +0000</pubDate>
		<guid isPermaLink="false">http://wp.j-raedler.de/?page_id=60#comment-2611</guid>
		<description><![CDATA[Silly comment removing indentation.

I don&#039;t _need_ to subclass Polygon, but it is nice to add the methods I need to it.]]></description>
		<content:encoded><![CDATA[<p>Silly comment removing indentation.</p>
<p>I don&#8217;t _need_ to subclass Polygon, but it is nice to add the methods I need to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Polygon by Zim</title>
		<link>http://www.j-raedler.de/projects/polygon/comment-page-1/#comment-2610</link>
		<dc:creator>Zim</dc:creator>
		<pubDate>Thu, 07 Feb 2013 05:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://wp.j-raedler.de/?page_id=60#comment-2610</guid>
		<description><![CDATA[Hi Jörg,

I&#039;m a little new to working with C libraries and I have a problem subclassing Polygon. Maybe you could help?

I have my code:
import Polygon as poly
class Shape(poly.Polygon):
    def __init__(self, points):
        super().__init__(points)
    def __contains__(self, shape):
        return shape.overlaps(self)

a = Shape(list of points)
b = Shape(some more points)

a in b
Here I will run into trouble for using the wrong type of arguments.

I changed the code to look like:
_shape = poly.Polygon(shape[0])
_self = poly.Polygon(self[0])
return _shape.overlaps(_self)

But it seems like a rather awkward solution. Any ideas?]]></description>
		<content:encoded><![CDATA[<p>Hi Jörg,</p>
<p>I&#8217;m a little new to working with C libraries and I have a problem subclassing Polygon. Maybe you could help?</p>
<p>I have my code:<br />
import Polygon as poly<br />
class Shape(poly.Polygon):<br />
    def __init__(self, points):<br />
        super().__init__(points)<br />
    def __contains__(self, shape):<br />
        return shape.overlaps(self)</p>
<p>a = Shape(list of points)<br />
b = Shape(some more points)</p>
<p>a in b<br />
Here I will run into trouble for using the wrong type of arguments.</p>
<p>I changed the code to look like:<br />
_shape = poly.Polygon(shape[0])<br />
_self = poly.Polygon(self[0])<br />
return _shape.overlaps(_self)</p>
<p>But it seems like a rather awkward solution. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Polygon by jraedler</title>
		<link>http://www.j-raedler.de/projects/polygon/comment-page-1/#comment-2462</link>
		<dc:creator>jraedler</dc:creator>
		<pubDate>Sun, 27 Jan 2013 14:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://wp.j-raedler.de/?page_id=60#comment-2462</guid>
		<description><![CDATA[Hi Wronzio,
I know about two different sources for this error message:
1. The package is not correctly installed.
2. You are working in the base folder of the source of the package. This doesn’t work.

Good luck, Joerg]]></description>
		<content:encoded><![CDATA[<p>Hi Wronzio,<br />
I know about two different sources for this error message:<br />
1. The package is not correctly installed.<br />
2. You are working in the base folder of the source of the package. This doesn’t work.</p>
<p>Good luck, Joerg</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Polygon by Wronzio</title>
		<link>http://www.j-raedler.de/projects/polygon/comment-page-1/#comment-2452</link>
		<dc:creator>Wronzio</dc:creator>
		<pubDate>Sat, 26 Jan 2013 18:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://wp.j-raedler.de/?page_id=60#comment-2452</guid>
		<description><![CDATA[Hi Jörg,
I wonder If you could help me please, since although I&#039;ve already installed Polygon2, when  importing the library I get the next message :

Traceback (most recent call last):
  File &quot;&quot;, line 1, in 
  File &quot;Polygon/__init__.py&quot;, line 5, in 
    from Polygon.cPolygon import *
ImportError: No module named cPolygon

Hope you can help me please. I&#039;d be really grateful to you. 
Cheers.
Wronzio]]></description>
		<content:encoded><![CDATA[<p>Hi Jörg,<br />
I wonder If you could help me please, since although I&#8217;ve already installed Polygon2, when  importing the library I get the next message :</p>
<p>Traceback (most recent call last):<br />
  File &#8220;&#8221;, line 1, in<br />
  File &#8220;Polygon/__init__.py&#8221;, line 5, in<br />
    from Polygon.cPolygon import *<br />
ImportError: No module named cPolygon</p>
<p>Hope you can help me please. I&#8217;d be really grateful to you.<br />
Cheers.<br />
Wronzio</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using KDE&#8217;s kwallet with Firefox/Iceweasel by Álex</title>
		<link>http://www.j-raedler.de/2010/08/using-kdes-kwallet-with-firefoxiceweasel/comment-page-1/#comment-2270</link>
		<dc:creator>Álex</dc:creator>
		<pubDate>Tue, 08 Jan 2013 13:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.j-raedler.de/?p=323#comment-2270</guid>
		<description><![CDATA[It seems that your procedure is the only one that works for me and it keeps all the passwords.]]></description>
		<content:encoded><![CDATA[<p>It seems that your procedure is the only one that works for me and it keeps all the passwords.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using KDE&#8217;s kwallet with Firefox/Iceweasel by tictacbum</title>
		<link>http://www.j-raedler.de/2010/08/using-kdes-kwallet-with-firefoxiceweasel/comment-page-1/#comment-2017</link>
		<dc:creator>tictacbum</dc:creator>
		<pubDate>Thu, 13 Dec 2012 17:32:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.j-raedler.de/?p=323#comment-2017</guid>
		<description><![CDATA[also don&#039;t forget to delete files where firefox was storing passwords until now

.mozilla/firefox/*.default/signons*
.mozilla/firefox/*.default/key3.db]]></description>
		<content:encoded><![CDATA[<p>also don&#8217;t forget to delete files where firefox was storing passwords until now</p>
<p>.mozilla/firefox/*.default/signons*<br />
.mozilla/firefox/*.default/key3.db</p>
]]></content:encoded>
	</item>
</channel>
</rss>
