{"action":"created","issue":{"url":"https://api.github.com/repos/JulienPeloton/spark3D/issues/11","repository_url":"https://api.github.com/repos/JulienPeloton/spark3D","labels_url":"https://api.github.com/repos/JulienPeloton/spark3D/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/JulienPeloton/spark3D/issues/11/comments","events_url":"https://api.github.com/repos/JulienPeloton/spark3D/issues/11/events","html_url":"https://github.com/JulienPeloton/spark3D/issues/11","id":323507925,"number":11,"title":"Partitioning using Healpix: the onion space","user":{"login":"JulienPeloton","id":20426972,"avatar_url":"https://avatars3.githubusercontent.com/u/20426972?v=4","gravatar_id":"","url":"https://api.github.com/users/JulienPeloton","html_url":"https://github.com/JulienPeloton","followers_url":"https://api.github.com/users/JulienPeloton/followers","following_url":"https://api.github.com/users/JulienPeloton/following{/other_user}","gists_url":"https://api.github.com/users/JulienPeloton/gists{/gist_id}","starred_url":"https://api.github.com/users/JulienPeloton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulienPeloton/subscriptions","organizations_url":"https://api.github.com/users/JulienPeloton/orgs","repos_url":"https://api.github.com/users/JulienPeloton/repos","events_url":"https://api.github.com/users/JulienPeloton/events{/privacy}","received_events_url":"https://api.github.com/users/JulienPeloton/received_events","type":"User","site_admin":false},"labels":[{"id":934740489,"url":"https://api.github.com/repos/JulienPeloton/spark3D/labels/Partitioning","name":"Partitioning","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":{"login":"JulienPeloton","id":20426972,"avatar_url":"https://avatars3.githubusercontent.com/u/20426972?v=4","gravatar_id":"","url":"https://api.github.com/users/JulienPeloton","html_url":"https://github.com/JulienPeloton","followers_url":"https://api.github.com/users/JulienPeloton/followers","following_url":"https://api.github.com/users/JulienPeloton/following{/other_user}","gists_url":"https://api.github.com/users/JulienPeloton/gists{/gist_id}","starred_url":"https://api.github.com/users/JulienPeloton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulienPeloton/subscriptions","organizations_url":"https://api.github.com/users/JulienPeloton/orgs","repos_url":"https://api.github.com/users/JulienPeloton/repos","events_url":"https://api.github.com/users/JulienPeloton/events{/privacy}","received_events_url":"https://api.github.com/users/JulienPeloton/received_events","type":"User","site_admin":false},"assignees":[{"login":"JulienPeloton","id":20426972,"avatar_url":"https://avatars3.githubusercontent.com/u/20426972?v=4","gravatar_id":"","url":"https://api.github.com/users/JulienPeloton","html_url":"https://github.com/JulienPeloton","followers_url":"https://api.github.com/users/JulienPeloton/followers","following_url":"https://api.github.com/users/JulienPeloton/following{/other_user}","gists_url":"https://api.github.com/users/JulienPeloton/gists{/gist_id}","starred_url":"https://api.github.com/users/JulienPeloton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulienPeloton/subscriptions","organizations_url":"https://api.github.com/users/JulienPeloton/orgs","repos_url":"https://api.github.com/users/JulienPeloton/repos","events_url":"https://api.github.com/users/JulienPeloton/events{/privacy}","received_events_url":"https://api.github.com/users/JulienPeloton/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-05-16T07:56:41Z","updated_at":"2018-05-17T10:04:46Z","closed_at":null,"author_association":"OWNER","body":"Here is the current idea for partitioning the space.\r\n\r\n![healpix_partitioning](https://user-images.githubusercontent.com/20426972/40103985-609ea36c-58ef-11e8-96f8-27449d4b3734.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/JulienPeloton/spark3D/issues/comments/389814982","html_url":"https://github.com/JulienPeloton/spark3D/issues/11#issuecomment-389814982","issue_url":"https://api.github.com/repos/JulienPeloton/spark3D/issues/11","id":389814982,"user":{"login":"JulienPeloton","id":20426972,"avatar_url":"https://avatars3.githubusercontent.com/u/20426972?v=4","gravatar_id":"","url":"https://api.github.com/users/JulienPeloton","html_url":"https://github.com/JulienPeloton","followers_url":"https://api.github.com/users/JulienPeloton/followers","following_url":"https://api.github.com/users/JulienPeloton/following{/other_user}","gists_url":"https://api.github.com/users/JulienPeloton/gists{/gist_id}","starred_url":"https://api.github.com/users/JulienPeloton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JulienPeloton/subscriptions","organizations_url":"https://api.github.com/users/JulienPeloton/orgs","repos_url":"https://api.github.com/users/JulienPeloton/repos","events_url":"https://api.github.com/users/JulienPeloton/events{/privacy}","received_events_url":"https://api.github.com/users/JulienPeloton/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T10:04:46Z","updated_at":"2018-05-17T10:04:46Z","author_association":"OWNER","body":"With the current implementation, we have:\r\n\r\n```scala\r\n// Initialise our space:\r\n// z_min = 0.0, z_max = 1.0, with splits every dZ = 0.1.\r\nval partitioning = new OnionPartitioning\r\npartitioning.OnionPartitioning(0.0, 1.0, 0.1)\r\n\r\n// Grab the grid elements\r\nval grids = partitioning.getGrids\r\n\r\n// Build our partitioner\r\nval partitioner = new OnionPartitioner(GridType.ONIONGRID, grids)\r\n\r\n// Draw a point and place it on our grid\r\nval p = new Point3D(0.0, 0.0, 0.45)\r\nval iterator = partitioner.placeObject(p)\r\n```"}}
{"actor":{"display_login":"JulienPeloton"}}