[RhinoCommon] Convex Hull 2D?

hey,

is there, by chance, a method for calculating the convex hull for a set of unordered coplanar points somewhere in rhinocommon?

if not - any recommendations?

Hi Heinz,

Core Rhino does not have function to calculate 2D convex hulls. But the algorithms are difficult and, if you search, there are plenty to choose from. Here is one:

http://stackoverflow.com/questions/14671206/convex-hull-library

– Dale

1 Like

dear dale,
thanks a lot. MIConvexHull does the trick for me. :wink:

all the best, heinz

Grasshopper also has a Convex Hull algorithm, if you’d be willing to settle for a non-scripting solution.

thanks, david. i needed this it as a part of a plugin i’m working on, so no grasshopper detour possible here ;(