| MATLAB Central > MATLAB Newsreader > Calculating overlap areas |
|
|
|
Subject: Calculating overlap areas From: Steve Bachmeier Date: 9 Jul, 2007 18:16:35 Message: 1 of 18 |
|
I have the cartesian coordinates of the four corners of several |
|
Subject: Calculating overlap areas From: ellieandrogerxyzzy@mindspring.com.invalid (Roger Stafford) Date: 10 Jul, 2007 05:20:45 Message: 2 of 18 |
|
In article <ef5ceb5.-1@webcrossing.raydaftYaTP>, "Steve Bachmeier" |
|
Subject: Calculating overlap areas From: Steve Bachmeier Date: 10 Jul, 2007 11:09:14 Message: 3 of 18 |
|
I really appreciate the human mind's ability to visually solve these |
|
Subject: Calculating overlap areas From: Steve Bachmeier Date: 10 Jul, 2007 11:27:10 Message: 4 of 18 |
|
Clarification: it's not the horizontal and vertical lines themselves |
|
Subject: Calculating overlap areas From: ellieandrogerxyzzy@mindspring.com.invalid (Roger Stafford) Date: 10 Jul, 2007 17:35:49 Message: 5 of 18 |
|
In article <ef5ceb5.2@webcrossing.raydaftYaTP>, "Steve Bachmeier" |
|
Steve Bachmeier wrote: |
|
Subject: Calculating overlap areas From: Steve Bachmeier Date: 10 Jul, 2007 16:02:10 Message: 7 of 18 |
|
Well this looks promising as a quick solution and a check to what I |
|
Yes, polybool will accept any polygons of any shape. The only thing you have to be careful about is the direction of the vertices. Clockwise order indicates a polygon contour, while counterclockwise is interpreted as a hole contour. |
|
Subject: Calculating overlap areas From: Steve Bachmeier Date: 11 Jul, 2007 17:05:33 Message: 9 of 18 |
|
In trying a quick test of the 'polybool' function, I get the error |
|
Subject: Calculating overlap areas From: Steve Bachmeier Date: 11 Jul, 2007 17:26:18 Message: 10 of 18 |
|
OK, the problem is when there is no intersection. 'polybool' seems |
|
Steve wrote: |
|
look at rectint. I just stumbled upon it and remembered this thread. It looks promising |
|
Subject: Calculating overlap areas From: Steve Bachmeier Date: 12 Jul, 2007 09:25:48 Message: 13 of 18 |
|
OK, I think that's it. Out of curiousy, |
|
Steve wrote: |
|
Subject: Calculating overlap areas From: Steve Bachmeier Date: 12 Jul, 2007 10:41:24 Message: 15 of 18 |
|
Thank you very much. |
|
Subject: Calculating overlap areas From: Steve Bachmeier Date: 12 Jul, 2007 14:25:12 Message: 16 of 18 |
|
So I figured I'd beat this horse a bit more and try and get more |
|
On Jul 12, 2:25 pm, "Steve Bachmeier" <steve.bachme...@yahoo.com> |
|
Subject: Calculating overlap areas From: Steve Bachmeier Date: 13 Jul, 2007 10:56:04 Message: 18 of 18 |
|
Thanks again! |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| computational geometry | jason | 7 Jul, 2008 10:43:03 |
| computational geometry | John D'Errico | 10 Jul, 2007 06:32:10 |
E-mail this page to a colleague
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 Disclaimer prior to use.
Contact us at files@mathworks.com