{"id":38,"date":"2014-04-21T06:57:00","date_gmt":"2014-04-21T06:57:00","guid":{"rendered":"http:\/\/m-shaeri.ir\/blog\/?p=38"},"modified":"2019-11-16T05:09:14","modified_gmt":"2019-11-16T05:09:14","slug":"convex-hulls","status":"publish","type":"post","link":"https:\/\/mshaeri.com\/blog\/convex-hulls\/","title":{"rendered":"Convex Hulls"},"content":{"rendered":"<p style=\"text-align: justify;\">Last night I was surfing in my PC,I found the convex hull program in the folder of academic projects , I remember that I coded it about a year ago when I was passing the computianal geometery course at Beheshti university. it motivates me to write new post in the blog about Convex Hulls Problem.<\/p>\n<p style=\"text-align: justify;\">Download Convex Hulls Program <a href=\"http:\/\/m-shaeri.ir\/prjct\/ConvexHulls.exe\">here<\/a>.<\/p>\n<p style=\"text-align: justify;\">The Convex Hull is one of the fundamental Problems in computational geometry.<br \/>\nthe problem is : Given a set X of points, find the smallest convex shape (Hull) that contains X.<br \/>\na shape (Hull) is convex if for every pair of points q and p within the shape, the straight line that joins q to p is also within the shape, i.e. the line does not cross the borders of the shape.<\/p>\n<figure id=\"attachment_161\" aria-describedby=\"caption-attachment-161\" style=\"width: 479px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/m-shaeri.ir\/blog\/wp-content\/uploads\/2014\/04\/Convex.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-161\" src=\"http:\/\/m-shaeri.ir\/blog\/wp-content\/uploads\/2014\/04\/Convex.jpg\" alt=\"Convex Hull\" width=\"479\" height=\"288\" srcset=\"https:\/\/mshaeri.com\/blog\/wp-content\/uploads\/2014\/04\/Convex.jpg 1154w, https:\/\/mshaeri.com\/blog\/wp-content\/uploads\/2014\/04\/Convex-300x180.jpg 300w, https:\/\/mshaeri.com\/blog\/wp-content\/uploads\/2014\/04\/Convex-768x461.jpg 768w, https:\/\/mshaeri.com\/blog\/wp-content\/uploads\/2014\/04\/Convex-1024x615.jpg 1024w\" sizes=\"(max-width: 479px) 100vw, 479px\" \/><\/a><figcaption id=\"caption-attachment-161\" class=\"wp-caption-text\">Convex Hull<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">There exist Several Algorithms represented for solving Convex Hulls, e.g. Gift wrapping &#8211; O(n^2) , Graham scan \u2014 O(n log n) and Incremental convex hull algorithm \u2014 O(n log n).<\/p>\n<figure id=\"attachment_162\" aria-describedby=\"caption-attachment-162\" style=\"width: 480px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/m-shaeri.ir\/blog\/wp-content\/uploads\/2014\/04\/Convex2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-162\" src=\"http:\/\/m-shaeri.ir\/blog\/wp-content\/uploads\/2014\/04\/Convex2.jpg\" alt=\"Convex Hull\" width=\"480\" height=\"321\" srcset=\"https:\/\/mshaeri.com\/blog\/wp-content\/uploads\/2014\/04\/Convex2.jpg 819w, https:\/\/mshaeri.com\/blog\/wp-content\/uploads\/2014\/04\/Convex2-300x200.jpg 300w, https:\/\/mshaeri.com\/blog\/wp-content\/uploads\/2014\/04\/Convex2-768x513.jpg 768w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/a><figcaption id=\"caption-attachment-162\" class=\"wp-caption-text\">Computed convex hull for points<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">The use cases of Convex Hull problem is in Image Processing, GIS, Robot Motion, statictis and Surprisingly in chemistry and petroleum industry!!<\/p>\n<p style=\"text-align: justify;\">This program is written by C# 2008.\u00a0hope you find this program and post useful .<\/p>\n<p style=\"text-align: justify;\">Download Convex Hulls Program <a href=\"http:\/\/m-shaeri.ir\/prjct\/ConvexHulls.exe\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last night I was surfing in my PC,I found the convex hull program in the folder of academic projects , I remember that I coded &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,1],"tags":[11,7,10,12],"_links":{"self":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts\/38"}],"collection":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":7,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":163,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions\/163"}],"wp:attachment":[{"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mshaeri.com\/blog\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}