{"id":535,"date":"2011-03-09T01:51:33","date_gmt":"2011-03-09T01:51:33","guid":{"rendered":"http:\/\/pycheung.com\/weblog\/?p=535"},"modified":"2012-12-10T17:28:14","modified_gmt":"2012-12-10T17:28:14","slug":"curve-region","status":"publish","type":"post","link":"https:\/\/www.pycheung.com\/weblog\/post\/535","title":{"rendered":"curve region"},"content":{"rendered":"<p>          <a href=\"http:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/curveRegion.jpg\" title=\"curveRegion.jpg\">            <img loading=\"lazy\" src=\"http:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/zrtn_001n45bdd349_tn.jpg\" style=\"BORDER-BOTTOM: #000000 1px; BORDER-LEFT: #000000 1px; BORDER-TOP: #000000 1px; BORDER-RIGHT: #000000 1px\" height=\"565\" width=\"800\" alt=\"curveRegion.jpg\" border=\"0\"\/>          <\/a> <br \/>I have been searching for some libraries for python to deal with some fundamental geometrical operations like region intersections \/ line-shape intersections, the only one that comes close is shapely but I couldn&#8217;t get it to work probably because its not pure python (i.e. require some C dll which the maya python didn&#8217;t like). Another interesting one, CGAL that can be used to deal with pointset creating delaunay, voronoi, convex hull and alpha shape, its python binding is not compiled for 2.6 so I couldn&#8217;t get that to work either. (qHull doesn&#8217;t do alpha shape to my understanding).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been searching for some libraries for python to deal with some fundamental geometrical operations like region intersections \/ line-shape intersections, the only one that comes close is shapely&#8230;<\/p>\n<div class=\"royalwp-readmore-wrap\"><a href=\"https:\/\/www.pycheung.com\/weblog\/post\/535\" class=\"royalwp-readmore\">Explore more <i class=\"far fa-hand-point-right\"><\/i><\/a><\/div>\n","protected":false},"author":2,"featured_media":1133,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[153],"tags":[27,60,73,90,92],"_links":{"self":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/535"}],"collection":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/comments?post=535"}],"version-history":[{"count":1,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/535\/revisions"}],"predecessor-version":[{"id":1001,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/535\/revisions\/1001"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media\/1133"}],"wp:attachment":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media?parent=535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/categories?post=535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/tags?post=535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}