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

4 Ansichten (letzte 30 Tage)
matlab code to find the largest distance from each point in a convex hull

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 31 Okt. 2017
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()

Weitere Antworten (1)

Bruno Luong
Bruno Luong am 2 Jan. 2019
This is a method that provides the maximum distance that has better complexity than computing distance of all pairs as other answer

Kategorien

Mehr zu Bounding Regions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by