-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add method to check if point is inside cell (#2905)
* add cell_is_point_inside * Better parameter description Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * Better naming Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> * use better name in doctest and test * fix for python 3.10 * use collections.abc.Sequence for all Python versions * Use interval check Co-authored-by: Andras Deak <adeak@users.noreply.github.com> * allow points * revert unintended removal of whitespace * check for int type for ind * return 2d array when a 2d array is supplied * return ndarray instead of list * whitespace * Fix unintended emacs closing file problem * add cell_point_ids to avoid painful diff merge * fix whitespace in _coerce_pointslike_arg * fix versionchanged format * Some minor docstring wording/markup changes * Remove return and and very description for second return * Also use numpy.integer Co-authored-by: Andras Deak <adeak@users.noreply.github.com> * Use typing like syntax in docstring * black * raise when vtk returns -1 Co-authored-by: Tetsuo Koyama <tkoyama010@gmail.com> Co-authored-by: Andras Deak <adeak@users.noreply.github.com>
- Loading branch information
1 parent
58d9ed7
commit fdc66f3
Showing
5 changed files
with
140 additions
and
23 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
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
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