isinconvexset (2D, 3D)

Function to verify if one given point is in or out a given convex 2D (polygon) or 3D (polyhedron) convex set, excluding its boundaries.
75 téléchargements
Mise à jour 24 sept. 2025
Help, doc, and examples included.
Overloaded for multiple points to test.
Hyperplanes (edges in 2D, triangles in 3D) do not need to be coherently oriented.
See also :
Please first check the examples tab (.mlx file) here on the right for a complete description.
Once downloaded, typewrite 'help isinconvexset' or 'doc isinconvexset' in Matlab console for support.
To benefit from the file documentation attached, be sure to download the files.
Please consider rating this code if it helped you. Thanks ;-)

Citation pour cette source

Nicolas Douillet (2025). isinconvexset (2D, 3D) (https://github.com/NicolasDouillet/isinconvexset/releases/tag/v2.42), GitHub. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2019b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Bounding Regions dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
2.42

See release notes for this release on GitHub: https://github.com/NicolasDouillet/isinconvexset/releases/tag/v2.42

2.4.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/isinconvexset/releases/tag/v2.4.1

2.4

See release notes for this release on GitHub: https://github.com/NicolasDouillet/isinconvexset/releases/tag/v2.4

2.3

+ cover img new test

2.2

+ floating point error management with epsilon
+ minimum input parsing
+ new cover img

2.1

cover img test

2.0

Major improvements : + hyperplanes use (edges / triangles), bug fix, increase speed, 2D/3D convex hulls of random point sets for examples, vectorize, also works for a set of vertices, update help, doc, description.

1.4

Improved typo, help, doc, description.

1.3

+ doc

1.2.0.0

- Modified picture

1.1.0.0

- Enlarge picture

1.0.0.0

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.