Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Algoritms added #31

Merged
merged 3 commits into from
May 30, 2016
Merged

New Algoritms added #31

merged 3 commits into from
May 30, 2016

Conversation

azime
Copy link
Contributor

@azime azime commented May 27, 2016

New algorithms added: Contains, Intersects, Area and distance.

let mut v = Vec::new();
let linestring = LineString(vec![p(0., 0.), p(2., 0.), p(2., 2.), p(0., 2.), p(0., 0.)]);
let poly = Polygon(linestring, Vec::new());
v.push(poly);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIt: This could just be:

let v = vec![poly];

@frewsxcv
Copy link
Member

Wow, this really great! Thanks a ton! 🎉

I left some comments, most of them are pretty minor. Let me know if you have any questions

@azime
Copy link
Contributor Author

azime commented May 30, 2016

I made some corrections on your comments

@frewsxcv
Copy link
Member

I made some corrections on your comments

Just saw them a few minutes ago, looks awesome. Thanks!

@frewsxcv frewsxcv merged commit 6a20749 into georust:master May 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants