Skip to content

Fix is_all_triangles#832

Merged
banesullivan merged 2 commits intomasterfrom
patch/is-all-tri
Jul 13, 2020
Merged

Fix is_all_triangles#832
banesullivan merged 2 commits intomasterfrom
patch/is-all-tri

Conversation

@banesullivan
Copy link
Copy Markdown
Member

Fixes some edge cases where an empty faces array would evaluate to True in is_all_triangles. Also, if the mesh contained any lines or vertice cells, a false positive could occur so that was fixed too

Resolve #830

cc @jrwrigh

@banesullivan banesullivan changed the title Patch/is all tri Fix is_all_triangles Jul 13, 2020
Copy link
Copy Markdown
Member

@akaszynski akaszynski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Looks good to me and thanks for adding this.

@banesullivan banesullivan merged commit 6639b65 into master Jul 13, 2020
@banesullivan banesullivan deleted the patch/is-all-tri branch July 22, 2020 02:24
@akaszynski akaszynski mentioned this pull request Sep 8, 2020
adeak added a commit to adeak/pyvista that referenced this pull request Nov 9, 2020
* upstream/master: (37 commits)
  🔧 Fix unused variables (pyvista#847)
  Add better Unstructured Grid Documentation (pyvista#845)
  Fix typo in plotting.py (pyvista#846)
  Feat: Implement compute_derivative (pyvista#837)
  New probe filter and massively improve interpolate filter (pyvista#842)
  Clarify clip filter docstring (pyvista#840)
  Update create-structured-surface.py (pyvista#844)
  Update topo-map.py (pyvista#841)
  Add release suffix to version string (pyvista#817)
  Add pathlib Support (pyvista#836)
  Add tolerance argument to sample_over_line (pyvista#828)
  vector slice from pyvista/pyvista-support#134 (pyvista#808)
  Fix is_all_triangles (pyvista#832)
  Misc. documentation fixes (pyvista#829)
  Follow up pyvista#793: fix get_data_range (pyvista#818)
  Fix GPU info in scooby report (pyvista#825)
  Patch for auto_close warning (pyvista#798)
  Add texture demo with scalar data (pyvista#821)
  MAINT: Log init start/stop (pyvista#819)
  Add PolyData strip filter (pyvista#807)
  ...
@banesullivan banesullivan added the bug Uh-oh! Something isn't working as expected. label Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Uh-oh! Something isn't working as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

is_all_triangles() returns True on line mesh

2 participants