Convhull formula derivaiton in dotnet
2 views (last 30 days)
Show older comments
Dear Friends,
I want to implement convhull in dotnet, so i require its formula to write in. Can anyone guide what it could be?
I have tried to edit convhull but no success.
Please help
0 Comments
Accepted Answer
José-Luis
on 4 Sep 2012
Edited: José-Luis
on 4 Sep 2012
Well, I'm going to be an heretic, but if you are going to use dotnet, maybe it is a better idea to directly use a windows executable for the convex hull and bypass Matlab.
Matlab's convhull is based on qHull ( http://www.qhull.org ). You can freely download the executable there. If you use that, you would be getting rid of the intermediary. Even the source code, in C++, is available, so Visual Studio might also be a better idea than Matlab.
As for how the convex hull is calculated, any book on computational geometry would give you both the mathematical definition and a few algorithms. A quick definition is: The convex hull of a set of points S is the smallest possible set containing S such that a line between any two points of S is inside the convex hull. There are many algorithms available to calculate that.
Cheers!
0 Comments
More Answers (0)
See Also
Categories
Find more on Bounding Regions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!