Convhull formula derivaiton in dotnet
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
José-Luis
2012년 9월 4일
편집: José-Luis
2012년 9월 4일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Bounding Regions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!