Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some functions for cad module #65

Closed
HakanSeven12 opened this issue Dec 6, 2020 · 1 comment
Closed

Some functions for cad module #65

HakanSeven12 opened this issue Dec 6, 2020 · 1 comment

Comments

@HakanSeven12
Copy link
Contributor

HakanSeven12 commented Dec 6, 2020

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:

  • Add point
  • Delete point
  • Swap edge
  • Add a polylines( and swap edges to make triangulation compatible with polylines)
  • Delete triangle by selecting an edge and retriangulate this new hole
  • Add a border
  • Paste a triangulation to another one(pasted triangulation must be dominant)

If you can help me I will be very happy.

@mourner
Copy link
Member

mourner commented Dec 7, 2020

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.

@mourner mourner closed this as completed Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants