isinpolygon

Function to check if a vertex is located inside or outside a given polygon. Overloaded for arrays of points.
18 téléchargements
Mise à jour 26 sept. 2025
Please first check the examples tab (.mlx file) here on the right for a complete description.
Once downloaded, typewrite help isinpolygon or doc isinpolygon in Matlab console for support.
To benefit from the file documentation attached, be sure to download all the files.
Input points of the set (V) have to be already sorted in the right order.
Works for multiple points to test (P).
Please consider rating this code if it helped you. Thanks ;-)

Citation pour cette source

Nicolas Douillet (2025). isinpolygon (https://github.com/NicolasDouillet/isinpolygon/releases/tag/v4.0), GitHub. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2019b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

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
4.0

See release notes for this release on GitHub: https://github.com/NicolasDouillet/isinpolygon/releases/tag/v4.0

3.1

See release notes for this release on GitHub: https://github.com/NicolasDouillet/isinside2Dset/releases/tag/v3.1

3.0

See release notes for this release on GitHub: https://github.com/NicolasDouillet/isinside2Dset/releases/tag/v3.0

2.0

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

1.2

See release notes for this release on GitHub: https://github.com/NicolasDouillet/isinside2Dset/releases/tag/v1.2

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.