-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introducing iteration on vertices (#1133)
* initial draft for vertices iteration * added small (temporary) comments for better initial digestion, will remove later * refactor into `eachvertex` * fix: typo in the export list * fix: Multi -> MultiPolytope, no importing of base methods * revert to simple generators. Rewrite some function in term of the iterator instead. * add tests, first part * fix: change test * typo Co-authored-by: Júlio Hoffimann <julio.hoffimann@gmail.com> * fix: use first instead of getindex, * revive the custom iterator * add typecheck to avoid stack overflows. * better tests * fix tests * revert Multi constructor * Update src/geometries/multigeom.jl * Update src/geometries/multigeom.jl * Cleanup * *removed double definition of the `eachvertex` function *eltype returns the specific point based on manifold and tranformation. *added missing `IteratorEltype` trait * * improved allocation testing * small cleanup * Update src/geometries/multigeom.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Update src/geometries/multigeom.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Update test/meshes.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Update test/meshes.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Update test/meshes.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Update test/meshes.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Update test/testutils.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Update test/polytopes.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Update test/polytopes.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Update test/polytopes.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Update test/multigeoms.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Update test/meshes.jl Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> * Apply suggestions from code review * Add more tests * Update tests * Simplify tests * Simplify tests * Apply suggestions * Update test/testutils.jl Co-authored-by: Júlio Hoffimann <julio.hoffimann@gmail.com> * Apply suggestions * Fix tests --------- Co-authored-by: Júlio Hoffimann <julio.hoffimann@gmail.com> Co-authored-by: Elias Carvalho <73039601+eliascarv@users.noreply.github.com> Co-authored-by: Elias Carvalho <eliascarvdev@gmail.com>
- Loading branch information
1 parent
729c46a
commit 82c995f
Showing
8 changed files
with
92 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
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
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