{"id":2158,"date":"2008-03-18T14:02:49","date_gmt":"2008-03-18T19:02:49","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2008\/03\/18\/practical-example-placing-a-sampling-grid-in-a-polygon-part-two\/"},"modified":"2016-05-10T15:18:48","modified_gmt":"2016-05-10T19:18:48","slug":"practical-example-placing-a-sampling-grid-in-a-polygon-part-two","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2008\/03\/18\/practical-example-placing-a-sampling-grid-in-a-polygon-part-two\/","title":{"rendered":"Practical Example: Placing a sampling grid in a polygon part two"},"content":{"rendered":"<p>This is the second video in this series, it shows you how to run a very simplistic optimization. For a simple problem like this one, the algorithm is more than sufficient to find a correct answer to what size edge is needed set the grid spacing such that the right number of points are placed inside the polygon.<\/p>\n<p>Original example that inspired this video series [<a href=\"https:\/\/blogs.mathworks.com\/pick\/2008\/01\/21\/practical-example-generating-points-inside-a-polygon\/\">Click here<\/a>]<\/p>\n<p>Part one of this series [<a href=\"https:\/\/blogs.mathworks.com\/pick\/2008\/03\/11\/practical-example-placing-a-sampling-grid-in-a-polygon\/\">Click here<\/a>]<\/p>\n<p><embed src=\"https:\/\/blogs.mathworks.com\/images\/pick\/\/FlashVideos\/FlowPlayer.swf?config=%7Bembedded%3Atrue%2CplayList%3A%5B%7BsuggestedClipsInfoUrl%3A%2783%20see%20also%2Etxt%27%2Curl%3A%2783%20Practical%20hex%20placement%20part%202%2Eflv%27%7D%5D%2CbaseURL%3A%27http%3A%2F%2Fblogs%2Emathworks%2Ecom%2Fimages%2Fpick%2FFlashVideos%2F%27%2CsplashImageFile%3A%2783%20Practical%20hex%20placement%20part%202%2Ejpg%27%2Cloop%3Afalse%2CinitialScale%3A%27fit%27%2CshowFullScreenButton%3Afalse%2CautoBuffering%3Afalse%2CmenuItems%3A%5Bfalse%2Cfalse%2Cfalse%2Cfalse%2Cfalse%2Ctrue%5D%2CautoPlay%3Afalse%7D\" type=\"application\/x-shockwave-flash\" width=\"500\" height=\"400\"><\/embed><br \/>\nVideo Content<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the second video in this series, it shows you how to run a very simplistic optimization. For a simple problem like this one, the algorithm is more than sufficient to find a correct answer to&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2008\/03\/18\/practical-example-placing-a-sampling-grid-in-a-polygon-part-two\/\">read more >><\/a><\/p>\n","protected":false},"author":68,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8,6,2],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2158"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=2158"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2158\/revisions"}],"predecessor-version":[{"id":7108,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2158\/revisions\/7108"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}