Computational Geometry Library
Project description
compute-geometry is a research-focused computational geometry library for Python. This library is designed to provide a set of tools and algorithms for solving geometric problems.
Installation
You can install the compute-geometry library using uv:
uv add compute-geometry
Getting Started
import cgeom
Here are some examples to demonstrate how to use the Geometry library:
import numpy as np
from cgeom.algorithms import VoronoiDiagram
from cgeom.visualization import plot_voronoi
# load a set of points
points = np.loadtxt("examples/points1.txt")
# create a voronoi diagram object
voronoi = VoronoiDiagram(points)
# build the voronoi diagram
cells = voronoi.build_voronoi_diagram()
# plot the voronoi diagram
plot_voronoi(voronoi, cells)
Elements
License
This library is licensed under the MIT License, allowing you to use, modify, and distribute it for both commercial and non-commercial purposes.
Start exploring the world of computational geometry with the compute-geometry library in Python!
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 compute_geometry-0.1.2.tar.gz.
File metadata
- Download URL: compute_geometry-0.1.2.tar.gz
- Upload date:
- Size: 349.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62ebd2ab1320d7a26dc3cef2cb248d6c427649e1d01983ddc1a7855b3e8e0658
|
|
| MD5 |
e9b814fd9903827f8153a47d56fdc770
|
|
| BLAKE2b-256 |
cf4194821ac74edbb4fb0638e0cfc8889a897b6abe15643146d4599eaf024f14
|
File details
Details for the file compute_geometry-0.1.2-py3-none-any.whl.
File metadata
- Download URL: compute_geometry-0.1.2-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
991081e92e13b025de5315ed2fda9c3ab651956855d5916320d14b2ac69b342f
|
|
| MD5 |
70d6977576ea8b8eae61ee9c84565ff3
|
|
| BLAKE2b-256 |
09d13e53353e679b1aaff2f171cd28206459a8d41ab8a9f95e44f66d06b551ca
|