Pangolin
Header-only C++20 plane computational geometry library
Loading...
Searching...
No Matches
mindisk.hpp File Reference

Smallest enclosing disk algorithms. More...

#include "algorithm/convexhull.hpp"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <iterator>
#include <random>
#include <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  pgl

Functions

template<class Container, class UniformRandomBitGenerator>
detail::min_disk_result_t< Container > pgl::smallestEnclosingDisk (const Container &input, UniformRandomBitGenerator &&generator)
 Computes the smallest closed disk containing a set of points.
template<class Container>
detail::min_disk_result_t< Container > pgl::smallestEnclosingDisk (const Container &input)
 Computes the smallest closed disk containing a set of points.

Detailed Description

Smallest enclosing disk algorithms.