{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/valhalla/midgard/pulls/7","id":26977903,"html_url":"https://github.com/valhalla/midgard/pull/7","diff_url":"https://github.com/valhalla/midgard/pull/7.diff","patch_url":"https://github.com/valhalla/midgard/pull/7.patch","issue_url":"https://api.github.com/repos/valhalla/midgard/issues/7","number":7,"state":"closed","locked":false,"title":"updates for point equality and interplay with polyline encoding","user":{"login":"kevinkreiser","id":697548,"avatar_url":"https://avatars.githubusercontent.com/u/697548?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinkreiser","html_url":"https://github.com/kevinkreiser","followers_url":"https://api.github.com/users/kevinkreiser/followers","following_url":"https://api.github.com/users/kevinkreiser/following{/other_user}","gists_url":"https://api.github.com/users/kevinkreiser/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinkreiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinkreiser/subscriptions","organizations_url":"https://api.github.com/users/kevinkreiser/orgs","repos_url":"https://api.github.com/users/kevinkreiser/repos","events_url":"https://api.github.com/users/kevinkreiser/events{/privacy}","received_events_url":"https://api.github.com/users/kevinkreiser/received_events","type":"User","site_admin":false},"body":"points got boiled down to an std pair a pr ago. but i had messed up how that worked so that it actually didnt work using the pair. so i've fixed that and added an apprx equals method which is very useful in testing but could be useful for other geometric algorithms. i also fixed up a bit the closest point code to be a little less \"c style\" looking. all said and done it allowed me to delete a lot of code an really simplify the point classes. this was needed for using the encoding of shape in prs taht i'll add in a minute or two.","created_at":"2015-01-07T18:46:18Z","updated_at":"2015-01-07T19:18:04Z","closed_at":"2015-01-07T19:18:04Z","merged_at":"2015-01-07T19:18:04Z","merge_commit_sha":"bbbbd47c9890aebb606650d0ca2b3efb48713a7d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/valhalla/midgard/pulls/7/commits","review_comments_url":"https://api.github.com/repos/valhalla/midgard/pulls/7/comments","review_comment_url":"https://api.github.com/repos/valhalla/midgard/pulls/comments/{number}","comments_url":"https://api.github.com/repos/valhalla/midgard/issues/7/comments","statuses_url":"https://api.github.com/repos/valhalla/midgard/statuses/6d7d9b89ea6fad93fef25db7a796918490e6457c","head":{"label":"valhalla:kk_pointpair","ref":"kk_pointpair","sha":"6d7d9b89ea6fad93fef25db7a796918490e6457c","user":{"login":"valhalla","id":10232331,"avatar_url":"https://avatars.githubusercontent.com/u/10232331?v=3","gravatar_id":"","url":"https://api.github.com/users/valhalla","html_url":"https://github.com/valhalla","followers_url":"https://api.github.com/users/valhalla/followers","following_url":"https://api.github.com/users/valhalla/following{/other_user}","gists_url":"https://api.github.com/users/valhalla/gists{/gist_id}","starred_url":"https://api.github.com/users/valhalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valhalla/subscriptions","organizations_url":"https://api.github.com/users/valhalla/orgs","repos_url":"https://api.github.com/users/valhalla/repos","events_url":"https://api.github.com/users/valhalla/events{/privacy}","received_events_url":"https://api.github.com/users/valhalla/received_events","type":"Organization","site_admin":false},"repo":{"id":28186381,"name":"midgard","full_name":"valhalla/midgard","owner":{"login":"valhalla","id":10232331,"avatar_url":"https://avatars.githubusercontent.com/u/10232331?v=3","gravatar_id":"","url":"https://api.github.com/users/valhalla","html_url":"https://github.com/valhalla","followers_url":"https://api.github.com/users/valhalla/followers","following_url":"https://api.github.com/users/valhalla/following{/other_user}","gists_url":"https://api.github.com/users/valhalla/gists{/gist_id}","starred_url":"https://api.github.com/users/valhalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valhalla/subscriptions","organizations_url":"https://api.github.com/users/valhalla/orgs","repos_url":"https://api.github.com/users/valhalla/repos","events_url":"https://api.github.com/users/valhalla/events{/privacy}","received_events_url":"https://api.github.com/users/valhalla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/valhalla/midgard","description":"Geographic/metric data structures and algorithms","fork":false,"url":"https://api.github.com/repos/valhalla/midgard","forks_url":"https://api.github.com/repos/valhalla/midgard/forks","keys_url":"https://api.github.com/repos/valhalla/midgard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valhalla/midgard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valhalla/midgard/teams","hooks_url":"https://api.github.com/repos/valhalla/midgard/hooks","issue_events_url":"https://api.github.com/repos/valhalla/midgard/issues/events{/number}","events_url":"https://api.github.com/repos/valhalla/midgard/events","assignees_url":"https://api.github.com/repos/valhalla/midgard/assignees{/user}","branches_url":"https://api.github.com/repos/valhalla/midgard/branches{/branch}","tags_url":"https://api.github.com/repos/valhalla/midgard/tags","blobs_url":"https://api.github.com/repos/valhalla/midgard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valhalla/midgard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valhalla/midgard/git/refs{/sha}","trees_url":"https://api.github.com/repos/valhalla/midgard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valhalla/midgard/statuses/{sha}","languages_url":"https://api.github.com/repos/valhalla/midgard/languages","stargazers_url":"https://api.github.com/repos/valhalla/midgard/stargazers","contributors_url":"https://api.github.com/repos/valhalla/midgard/contributors","subscribers_url":"https://api.github.com/repos/valhalla/midgard/subscribers","subscription_url":"https://api.github.com/repos/valhalla/midgard/subscription","commits_url":"https://api.github.com/repos/valhalla/midgard/commits{/sha}","git_commits_url":"https://api.github.com/repos/valhalla/midgard/git/commits{/sha}","comments_url":"https://api.github.com/repos/valhalla/midgard/comments{/number}","issue_comment_url":"https://api.github.com/repos/valhalla/midgard/issues/comments/{number}","contents_url":"https://api.github.com/repos/valhalla/midgard/contents/{+path}","compare_url":"https://api.github.com/repos/valhalla/midgard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valhalla/midgard/merges","archive_url":"https://api.github.com/repos/valhalla/midgard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valhalla/midgard/downloads","issues_url":"https://api.github.com/repos/valhalla/midgard/issues{/number}","pulls_url":"https://api.github.com/repos/valhalla/midgard/pulls{/number}","milestones_url":"https://api.github.com/repos/valhalla/midgard/milestones{/number}","notifications_url":"https://api.github.com/repos/valhalla/midgard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valhalla/midgard/labels{/name}","releases_url":"https://api.github.com/repos/valhalla/midgard/releases{/id}","created_at":"2014-12-18T14:20:11Z","updated_at":"2015-01-06T20:41:11Z","pushed_at":"2015-01-07T19:18:04Z","git_url":"git://github.com/valhalla/midgard.git","ssh_url":"git@github.com:valhalla/midgard.git","clone_url":"https://github.com/valhalla/midgard.git","svn_url":"https://github.com/valhalla/midgard","homepage":null,"size":1864,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"valhalla:master","ref":"master","sha":"7640bb5b5e77acee43959d0ba8fe6c21007c69f1","user":{"login":"valhalla","id":10232331,"avatar_url":"https://avatars.githubusercontent.com/u/10232331?v=3","gravatar_id":"","url":"https://api.github.com/users/valhalla","html_url":"https://github.com/valhalla","followers_url":"https://api.github.com/users/valhalla/followers","following_url":"https://api.github.com/users/valhalla/following{/other_user}","gists_url":"https://api.github.com/users/valhalla/gists{/gist_id}","starred_url":"https://api.github.com/users/valhalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valhalla/subscriptions","organizations_url":"https://api.github.com/users/valhalla/orgs","repos_url":"https://api.github.com/users/valhalla/repos","events_url":"https://api.github.com/users/valhalla/events{/privacy}","received_events_url":"https://api.github.com/users/valhalla/received_events","type":"Organization","site_admin":false},"repo":{"id":28186381,"name":"midgard","full_name":"valhalla/midgard","owner":{"login":"valhalla","id":10232331,"avatar_url":"https://avatars.githubusercontent.com/u/10232331?v=3","gravatar_id":"","url":"https://api.github.com/users/valhalla","html_url":"https://github.com/valhalla","followers_url":"https://api.github.com/users/valhalla/followers","following_url":"https://api.github.com/users/valhalla/following{/other_user}","gists_url":"https://api.github.com/users/valhalla/gists{/gist_id}","starred_url":"https://api.github.com/users/valhalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valhalla/subscriptions","organizations_url":"https://api.github.com/users/valhalla/orgs","repos_url":"https://api.github.com/users/valhalla/repos","events_url":"https://api.github.com/users/valhalla/events{/privacy}","received_events_url":"https://api.github.com/users/valhalla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/valhalla/midgard","description":"Geographic/metric data structures and algorithms","fork":false,"url":"https://api.github.com/repos/valhalla/midgard","forks_url":"https://api.github.com/repos/valhalla/midgard/forks","keys_url":"https://api.github.com/repos/valhalla/midgard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valhalla/midgard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valhalla/midgard/teams","hooks_url":"https://api.github.com/repos/valhalla/midgard/hooks","issue_events_url":"https://api.github.com/repos/valhalla/midgard/issues/events{/number}","events_url":"https://api.github.com/repos/valhalla/midgard/events","assignees_url":"https://api.github.com/repos/valhalla/midgard/assignees{/user}","branches_url":"https://api.github.com/repos/valhalla/midgard/branches{/branch}","tags_url":"https://api.github.com/repos/valhalla/midgard/tags","blobs_url":"https://api.github.com/repos/valhalla/midgard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valhalla/midgard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valhalla/midgard/git/refs{/sha}","trees_url":"https://api.github.com/repos/valhalla/midgard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valhalla/midgard/statuses/{sha}","languages_url":"https://api.github.com/repos/valhalla/midgard/languages","stargazers_url":"https://api.github.com/repos/valhalla/midgard/stargazers","contributors_url":"https://api.github.com/repos/valhalla/midgard/contributors","subscribers_url":"https://api.github.com/repos/valhalla/midgard/subscribers","subscription_url":"https://api.github.com/repos/valhalla/midgard/subscription","commits_url":"https://api.github.com/repos/valhalla/midgard/commits{/sha}","git_commits_url":"https://api.github.com/repos/valhalla/midgard/git/commits{/sha}","comments_url":"https://api.github.com/repos/valhalla/midgard/comments{/number}","issue_comment_url":"https://api.github.com/repos/valhalla/midgard/issues/comments/{number}","contents_url":"https://api.github.com/repos/valhalla/midgard/contents/{+path}","compare_url":"https://api.github.com/repos/valhalla/midgard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valhalla/midgard/merges","archive_url":"https://api.github.com/repos/valhalla/midgard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valhalla/midgard/downloads","issues_url":"https://api.github.com/repos/valhalla/midgard/issues{/number}","pulls_url":"https://api.github.com/repos/valhalla/midgard/pulls{/number}","milestones_url":"https://api.github.com/repos/valhalla/midgard/milestones{/number}","notifications_url":"https://api.github.com/repos/valhalla/midgard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valhalla/midgard/labels{/name}","releases_url":"https://api.github.com/repos/valhalla/midgard/releases{/id}","created_at":"2014-12-18T14:20:11Z","updated_at":"2015-01-06T20:41:11Z","pushed_at":"2015-01-07T19:18:04Z","git_url":"git://github.com/valhalla/midgard.git","ssh_url":"git@github.com:valhalla/midgard.git","clone_url":"https://github.com/valhalla/midgard.git","svn_url":"https://github.com/valhalla/midgard","homepage":null,"size":1864,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/valhalla/midgard/pulls/7"},"html":{"href":"https://github.com/valhalla/midgard/pull/7"},"issue":{"href":"https://api.github.com/repos/valhalla/midgard/issues/7"},"comments":{"href":"https://api.github.com/repos/valhalla/midgard/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/valhalla/midgard/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/valhalla/midgard/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/valhalla/midgard/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/valhalla/midgard/statuses/6d7d9b89ea6fad93fef25db7a796918490e6457c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kevinkreiser","id":697548,"avatar_url":"https://avatars.githubusercontent.com/u/697548?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinkreiser","html_url":"https://github.com/kevinkreiser","followers_url":"https://api.github.com/users/kevinkreiser/followers","following_url":"https://api.github.com/users/kevinkreiser/following{/other_user}","gists_url":"https://api.github.com/users/kevinkreiser/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinkreiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinkreiser/subscriptions","organizations_url":"https://api.github.com/users/kevinkreiser/orgs","repos_url":"https://api.github.com/users/kevinkreiser/repos","events_url":"https://api.github.com/users/kevinkreiser/events{/privacy}","received_events_url":"https://api.github.com/users/kevinkreiser/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":4,"additions":100,"deletions":141,"changed_files":6}}