DynamoDS / RefineryToolkits

The Autodesk Refinery Toolkit
Apache License 2.0
48 stars 28 forks source link

115 colinear points median #118

Closed radumg closed 5 years ago

radumg commented 5 years ago

fixes #115 by implementing a co-linearity check for the points before making a convex hull.

The method

if points are colinear, return the midpoint of the line they form if not, do the convex hull

radumg commented 5 years ago

@SHKnudsen added tests for Core, in CoreTests, but they don't want to run for a reason, mind having a look ?

likely related to #117

SHKnudsen commented 5 years ago

@radumg seems like the issue with running the tests is related with this https://developercommunity.visualstudio.com/content/problem/579073/test-discovery-reporting-dlls-do-not-match.html

I updated VS to 16.2 and everything works for me now, can you check?