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

add nClosestLayers() #62

Merged
merged 3 commits into from
Oct 26, 2016
Merged

add nClosestLayers() #62

merged 3 commits into from
Oct 26, 2016

Conversation

haoliangyu
Copy link
Collaborator

This PR will add a new function to find the N nearest layers from a given point. It follows similar procedure of closestLayers(), but returns an array of object with size n in an ascending order of distance. A couple of tests have been added to test different sets of input (layer array and n). Please let me know if you want to add or modify anything.

Copy link
Member

@mdartic mdartic left a comment

Choose a reason for hiding this comment

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

Great work, I merge quickly.
Thank you for your PR

@mdartic mdartic merged commit 08aa8d6 into makinacorpus:master Oct 26, 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.

2 participants