CMD + K

mapbox_earcut

Community

Python version of Mapbox Earcut library: fast and quite robust triangulation of 2D polygons.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::mapbox_earcut

Usage Tracking

1.0.3
1.0.1
1.0.0
0.12.10
4 / 8 versions selected
Downloads (Last 6 months): 0

Description

The library implements a modified ear slicing algorithm, optimized by z-order curve hashing and extended to handle holes, twisted polygons, degeneracies and self-intersections in a way that doesn't guarantee correctness of triangulation, but attempts to always produce acceptable results for practical data like geographical shapes.

About

Summary

Python version of Mapbox Earcut library: fast and quite robust triangulation of 2D polygons.

Last Updated

Dec 30, 2024 at 21:12

License

ISC AND BSD-3-Clause

Total Downloads

273.0K

Supported Platforms

macOS-arm64
win-64
macOS-64
linux-aarch64
linux-ppc64le
linux-64