-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Describe the bug
The method for finding distance between a polygon and the polyline form of that polygon returns bad results. When a polygon is turned into a polygon we get the expected value in the test in this branch, but the polygon itself fails.
https://github.com/hypar-io/Elements/tree/fix-distance-to-polygon
To Reproduce
Steps to reproduce the behavior:
- Look at the test in the branch above.
Expected behavior
Wether a polygon has been turned into a polygon or not shouldn't affect the distance to that object.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working