-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missed ray traces in
multi_ray_trace
when origin points are out…
…side bounding box (#5957) * In multi_ray_trace retry, increase the length to the second point by the distance from the origin point to the centre of the PolyData,ensuring the raytrace will always pass through the full extent of the PolyData. Resolves #5587 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update test_multi_ray_trace so it properly tests the new retry code * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update tests/core/test_polydata.py Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com>
- Loading branch information
1 parent
a038e74
commit e39534f
Showing
2 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters