isinconvexset (2D, 3D)

Function to check if one vertex (set) is located inside or outside a given -opened- convex point set. Help, doc, and examples included.
62 Downloads
Updated 12 Aug 2020
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 file, not to just copy and paste it.
Please rate it this code helped you.
Also works for multiple points to test.
Hyperplanes (edges in 2D, triangles in 3D) don't need to be coherently oriented.

Cite As

Nicolas Douillet (2024). isinconvexset (2D, 3D) (https://github.com/NicolasDouillet/isinconvexset/releases/tag/v2.4), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Bounding Regions in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
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

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.