On 8/11/2009 1:49 AM zhongshq said... > Hi, > > I wonder if there has any package can check whether two rectangles are > overlap, is a dot inside or outside a polygon, etc. PythonCad at http://sourceforge.net/projects/pythoncad/ has intersections built in. Emile