File Exchange

image thumbnail

isinconvexset

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

2 Downloads

Updated 12 Aug 2020

From GitHub

View Version History

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

Nicosahedron (2021). isinconvexset (https://github.com/NicolasDouillet/isinconvexset/releases/tag/v2.4), GitHub. Retrieved .

Comments and Ratings (5)

Nicosahedron

Everything fixed and updated, works fine now ;-)

Nicosahedron

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

Nicosahedron

You may now download again.

Nicosahedron

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!