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 Downloads
Aktualisiert 24. Sep 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 ;-)

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2019b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Bounding Regions finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
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

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.