5.0

5.0 | 2 ratings Rate this file 38 downloads (last 30 days) File Size: 4.71 KB File ID: #22287

IN POLYGON TEST FOR CONVEX POLYGON

by Luigi Giaccari

 

01 Dec 2008 (Updated 24 Aug 2009)

Code covered by the BSD License  

Detects points inside a convex polygon in 2D space. Should be faster than general inpolygon.

Download Now | Watch this File

File Information
Description

You can find the description at:

http://www.advancedmcode.org/in-polygon-test-for-convex-polygon.html

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
INPOLYHEDRON TEST
This submission has inspired the following:
INPOLYHEDRON TEST

MATLAB release MATLAB 7.5 (R2007b)
Other requirements Should work on all platforms
Zip File Content  
Other Files InPolyConvex.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
02 Dec 2008 Jveer

how abt one for 3d?

20 Dec 2008 Maula Maula

Nice one,

I'm looking for possibilities x and y are not the same size, i've been googling for an example for such operation, but no luck.

30 May 2009 Jveer

Luigi provided a customized 3d one thats works great! thank you.

Please login to add a comment or rating.
Updates
11 Dec 2008

Changed the presentation

18 Mar 2009

Changed presentation

19 May 2009

Added link to InPOlyedron function

20 Jul 2009

added acknowledgments

24 Aug 2009

added link

Tag Activity for this File
Tag Applied By Date/Time
2d Cristina McIntire 01 Dec 2008 15:51:26
polygon Luigi Giaccari 01 Dec 2008 15:51:31
hull Luigi Giaccari 01 Dec 2008 15:51:31
convex Luigi Giaccari 01 Dec 2008 15:51:31
aerospace Luigi Giaccari 01 Dec 2008 15:51:31
automotive Luigi Giaccari 01 Dec 2008 15:51:31
optimization Luigi Giaccari 01 Dec 2008 15:51:31
mathematics Luigi Giaccari 01 Dec 2008 15:51:31
image processing Luigi Giaccari 01 Dec 2008 15:51:31
inside Luigi Giaccari 01 Dec 2008 15:51:31
points Luigi Giaccari 01 Dec 2008 15:51:31
geometry Luigi Giaccari 19 May 2009 10:28:44
graphics Luigi Giaccari 19 May 2009 10:28:45
mesh Luigi Giaccari 19 May 2009 10:28:45
inpolygon Luigi Giaccari 19 May 2009 10:28:45
computational Luigi Giaccari 19 May 2009 10:28:45
image Luigi Giaccari 19 May 2009 10:28:45
2d Luigi Giaccari 19 May 2009 10:28:45
shape Luigi Giaccari 19 May 2009 10:28:45
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com