{"id":500,"date":"2012-03-14T08:58:29","date_gmt":"2012-03-14T08:58:29","guid":{"rendered":"http:\/\/torabiarchitect.com\/parametric-array\/?p=500"},"modified":"2012-04-10T09:00:17","modified_gmt":"2012-04-10T09:00:17","slug":"finding-closest-object-in-array-to-a-given-point","status":"publish","type":"post","link":"https:\/\/torabiarchitect.com\/parametric-array\/finding-closest-object-in-array-to-a-given-point\/","title":{"rendered":"Finding closest object in array to a given point."},"content":{"rendered":"<p>To find the closest item of an array to the given point P, we should sort the list of points based on the distance from -P-. in this sorted list the first item is always closest point. see the video to find out how to setup controller in 3ds MAX to do so.<br \/>\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"http:\/\/www.youtube.com\/embed\/P2OErX5fwxc?rel=0\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To find the closest item of an array to the given point P, we should sort the list of points based on the distance from -P-. in this sorted list the first item is always closest point. see the video to find out how to setup controller in 3ds MAX to do so.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[37,14,16,15,29],"_links":{"self":[{"href":"https:\/\/torabiarchitect.com\/parametric-array\/wp-json\/wp\/v2\/posts\/500"}],"collection":[{"href":"https:\/\/torabiarchitect.com\/parametric-array\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/torabiarchitect.com\/parametric-array\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/torabiarchitect.com\/parametric-array\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/torabiarchitect.com\/parametric-array\/wp-json\/wp\/v2\/comments?post=500"}],"version-history":[{"count":1,"href":"https:\/\/torabiarchitect.com\/parametric-array\/wp-json\/wp\/v2\/posts\/500\/revisions"}],"predecessor-version":[{"id":501,"href":"https:\/\/torabiarchitect.com\/parametric-array\/wp-json\/wp\/v2\/posts\/500\/revisions\/501"}],"wp:attachment":[{"href":"https:\/\/torabiarchitect.com\/parametric-array\/wp-json\/wp\/v2\/media?parent=500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/torabiarchitect.com\/parametric-array\/wp-json\/wp\/v2\/categories?post=500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/torabiarchitect.com\/parametric-array\/wp-json\/wp\/v2\/tags?post=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}