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.

9 Downloads

Updated 12 Aug 2020

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!

Updates

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

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