Skip to main content

Computational Geometry Library

Project description

PyPI GitHub

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compute_geometry-0.1.2.tar.gz (349.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

compute_geometry-0.1.2-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

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

Hashes for compute_geometry-0.1.2.tar.gz
Algorithm Hash digest
SHA256 62ebd2ab1320d7a26dc3cef2cb248d6c427649e1d01983ddc1a7855b3e8e0658
MD5 e9b814fd9903827f8153a47d56fdc770
BLAKE2b-256 cf4194821ac74edbb4fb0638e0cfc8889a897b6abe15643146d4599eaf024f14

See more details on using hashes here.

File details

Details for the file compute_geometry-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for compute_geometry-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 991081e92e13b025de5315ed2fda9c3ab651956855d5916320d14b2ac69b342f
MD5 70d6977576ea8b8eae61ee9c84565ff3
BLAKE2b-256 09d13e53353e679b1aaff2f171cd28206459a8d41ab8a9f95e44f66d06b551ca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page