Smallest Enclosing Circle
Project description
Smallest enclosing circle
pip install smallestenclosingcircle
import smallestenclosingcircle
center_x, center_y, radius = smallestenclosingcircle.make_circle(points)
# points must be iterable of points e.g.:
# numpy array of shape (N, 2)
# list of tuples
# [(1, 2), (8, 9), (4, 5), (-6, -7), ... ]
#
# Note: if no points are input, returns None
Original source from: https://www.nayuki.io/page/smallest-enclosing-circle
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smallestenclosingcircle-0.0.1.tar.gz.
File metadata
- Download URL: smallestenclosingcircle-0.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c167e1000d6f45d82ec6bc12e55327e874988436b2bfd7ca654653c1364c4fb8
|
|
| MD5 |
6ce056f41e422d989716aa5ed7bb7559
|
|
| BLAKE2b-256 |
2c6037ee58fa40718a5399f6686564ad225cc954815d993d094a85a91f501a71
|
File details
Details for the file smallestenclosingcircle-0.0.1-py3-none-any.whl.
File metadata
- Download URL: smallestenclosingcircle-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
931d88e523bc4b66f17866737834091afff615c8edb0d7f57da8056c4484014f
|
|
| MD5 |
f3257fea70159b2d285fd98e9fcce11b
|
|
| BLAKE2b-256 |
d11044f28a7903474339be98a410aa61121cac188b6d156ba5aa2a18c351ce7f
|