File Exchange

image thumbnail

isinconvexset

version 2.4 (68.3 KB) by Nicolas Douillet
Function to check if one vertex (set) is located inside or outside a given -opened- convex point set. Supports dimensions 2 and 3.

1 Download

Updated 12 Aug 2020

View Version History

GitHub view license on GitHub

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.

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 (2020). isinconvexset (https://github.com/NicolasDouillet/isinconvexset/releases/tag/v2.4), GitHub. Retrieved .

Comments and Ratings (4)

Nicolas Douillet

Doesn't work yet for 'false 3D' (coplanar / point sets embeded in 3D)

Nicolas Douillet

You may now download again.

Nicolas Douillet

Mistake (theoritical error) found ! Please DO NOT DOWNLOAD till next version (2.0).

Chong WU

Excellent work!

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!