-
Notifications
You must be signed in to change notification settings - Fork 2
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
WORK IN PROGRESS: Infer ways #77
Open
tsrivishnu
wants to merge
18
commits into
master
Choose a base branch
from
infer_ways
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tsrivishnu
force-pushed
the
infer_ways
branch
from
September 1, 2016 18:31
8bc9ba8
to
742613f
Compare
* Identify possible parallel lines by determining if 1/4th of points of the line are below a predefined distance. * Getting farthest points from a list of points has been very slow when there are a lot of points. Improved it by using generating a ConvexHull and using it for distance. * Skip inferring cluster if there is only one point.
variable to be set to True to consider angle of deviation. NodesWrapper calculates the angles of deviation for those points that are within a distance (a separate variable to be used just when angles are requested).
We ceil the angle to a closest multiple of 5 and also round up the distance to 3 decimal points. This way, we will sort based on the angle and then by distance.
Polygon in sense, a powerstation (substation etc.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.