{"id":768,"date":"2024-01-16T12:48:14","date_gmt":"2024-01-16T20:48:14","guid":{"rendered":"http:\/\/fx-td.com\/houdiniandchill\/?p=768"},"modified":"2024-01-16T12:58:42","modified_gmt":"2024-01-16T20:58:42","slug":"archived-post-by-reinholdr","status":"publish","type":"post","link":"http:\/\/fx-td.com\/houdiniandchill\/2024\/01\/16\/archived-post-by-reinholdr\/","title":{"rendered":"Archived post by reinholdr"},"content":{"rendered":"<div class=\"postie-post\">\n<p class=\"\">&#8220;`c float radius = chf(&#8220;radius&#8221;);<br \/>\nfloat dia = volumevoxeldiameter(0, &#8220;height&#8221;) \/ sqrt(3);<br \/>\nint voxel_rad = ceil(radius \/ dia);<br \/>\nfloat height_max = <a href=\"mailto:f@height\" >f@height<\/a>;<br \/>\nfor(int i = <a href=\"mailto:i@ix-voxel_rad\" >i@ix-voxel_rad<\/a>; i <= <a href=\"mailto:i@ix+voxel_rad\" >i@ix+voxel_rad<\/a>; i++) { \u00a0 \u00a0 for(int j = <a href=\"mailto:i@iy-voxel_rad\" >i@iy-voxel_rad<\/a>; j <= <a href=\"mailto:i@iy+voxel_rad\" >i@iy+voxel_rad<\/a>; j++) \u00a0 \u00a0 { \u00a0 \u00a0 \u00a0 \u00a0 if(length2(set(<a href=\"mailto:i-i@ix\" >i-i@ix<\/a>, <a href=\"mailto:j-i@iy\" >j-i@iy<\/a>)) < voxel_rad*voxel_rad) \u00a0 \u00a0 \u00a0 \u00a0 { \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 float height = volumeindex(0, \"height\", set(i, j, 0)); \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 height_max = max(height, height_max); \u00a0 \u00a0 \u00a0 \u00a0 } \u00a0 \u00a0 } }\n <a href=\"mailto:f@height\" >f@height<\/a> = height_max; &#8220;`<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;`c float radius = chf(&#8220;radius&#8221;); float dia = volumevoxeldiameter(0, &#8220;height&#8221;) \/ sqrt(3); int voxel_rad = ceil(radius \/ dia); float height_max = f@height; for(int i = i@ix-voxel_rad; i<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/768"}],"collection":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/comments?post=768"}],"version-history":[{"count":0,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/768\/revisions"}],"wp:attachment":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/media?parent=768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/categories?post=768"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/tags?post=768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}