mapbox / delaunator

An incredibly fast JavaScript library for Delaunay triangulation of 2D points
https://mapbox.github.io/delaunator/
ISC License
2.24k stars 139 forks source link

Some functions for cad module #65

Closed HakanSeven12 closed 3 years ago

HakanSeven12 commented 3 years ago

Hi. Firstly thanks for this library. I ported it to python before. https://github.com/HakanSeven12/Delaunator-Python

I want to use it for a cad program module. But I need some extra functions like:

If you can help me I will be very happy.

mourner commented 3 years ago

Unfortunately this is out of scope for this library. It's intended for static use cases (generating a single triangulation for a set of points), not dynamic ones like adding and removing points — you would need to find another library for this. For adding polylines, see #9.