how to find maximum distance of convex polygon for each point in a convex hull?

5 ビュー (過去 30 日間)
matlab code to find the largest distance from each point in a convex hull

採用された回答

Walter Roberson
Walter Roberson 2017 年 10 月 31 日
boundary() to find the points that correspond to the convex hull. Use the indices returned to extract the points. pdist2() from each point you wish to test to each point on the hull. squareform() and max()

その他の回答 (1 件)

Bruno Luong
Bruno Luong 2019 年 1 月 2 日
This is a method that provides the maximum distance that has better complexity than computing distance of all pairs as other answer

カテゴリ

Help Center および File ExchangeBounding Regions についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by