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

Cannot draw vertical triangles #2348

Closed
yuxi-liu-wired opened this issue Dec 29, 2019 · 2 comments
Closed

Cannot draw vertical triangles #2348

yuxi-liu-wired opened this issue Dec 29, 2019 · 2 comments
Labels

Comments

@yuxi-liu-wired
Copy link

surface([0, 0, 1],[0, 0, 0], [1, 0, 0])

It seems to be not expecting vertical surfaces.

QH6022 qhull input error: 1'th dimension's new bounds [-0.5, 0.5] too wide for
existing bounds [ 0,  0]

While executing:  | qhull d Qt QbB Qz
Options selected for Qhull 2015.2 2016/01/18:
  run-id 1600744826  delaunay  Qtriangulate  QbBound-unit-box 0.5
  Qz-infinity-point  _pre-merge  _zero-centrum  Pgood
Error in Delaunay triangulation calculation

Pre-filling the graph with things that it can draw does not help. This gives the same error:

surface([0, 0, 1, 1],[0, 1,1, 0], [1, 0, 0, 1])
surface!([0, 0, 1],[0, 0, 0], [1, 0, 0])
@yuxi-liu-wired yuxi-liu-wired changed the title Vertical triangles Cannot draw vertical triangles Dec 29, 2019
@yuxi-liu-wired
Copy link
Author

Also, even drawing horizontal surfaces gives errors when the triangular mesh gets too flat:

surface([0, 0, 1, 1],[0, 1,1, 0], [0,0,0,0])

gives

GKS: Rectangle definition is invalid in routine SET_WINDOW
GKS: Rectangle definition is invalid in routine CELLARRAY
invalid range

Compare this with

surface([0, 0, 1, 1],[0, 1,1, 0], [0,0,0.1,0])

which gives no error.

@t-bltg
Copy link
Member

t-bltg commented Jul 6, 2021

@yuxiliu1995 , would #3612 close this ?

@t-bltg t-bltg closed this as completed Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants