Triangle / Circle spanning multiple points

I have a set of points in 2D. I want to find:

  • the smallest triangle covering all points
  • the smallest circle covering all points.

Is there any algorithm? I came across a convex hull so that it matches convex polygons for many points. But I want a circle and a triangle.

Thanks in advance

+4
source share
2 answers

If you are referencing the region at least, then the following algorithms could potentially be useful.

Triangle

linear (.. O (n)) , ,

. . , , , Springer, . 1-16, 2014 .

, :

J. , . , . , . , , Journal of Algorithms, vol. 7, . 2, pp. 258-269, 1986 .

: .

++ :
https://github.com/IceRage/minimal-area-triangle

(3.0) OpenCV.

:

G. , , (ESA), Springer, pp. 325-338, 1999.

++ :
http://www.inf.ethz.ch/personal/gaertner/miniball.html.

+6

Source: https://habr.com/ru/post/1532041/


All Articles