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

Crashes python when using the '-c' flag #35

Open
apal90 opened this issue May 19, 2019 · 0 comments
Open

Crashes python when using the '-c' flag #35

apal90 opened this issue May 19, 2019 · 0 comments

Comments

@apal90
Copy link

apal90 commented May 19, 2019

I used triangle to make a triangulation of a rectangle (here, a square), using just the four corner points:

## make boundary of sheet
xyRectangle = np.array(((-1,-1), (-1,1), (1,1), (1,-1)))

## make triangulation
xy0 = xyRectangle 
A = dict(vertices=xy0)
B = tr.triangulate(A, 'qa0.0003')
tr.compare(plt, A, B)
plt.show()

When I use only the q or a flags, it runs perfectly. However, when I try calculating the convex hull as well, using the c flag, it just crashes my Jupyter notebook kernel.

Is there some bug somewhere, or am I not using the flag correctly?

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

1 participant