Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Binary check for polygons intersection
Replies: 9   Last Post: Jan 24, 2013 1:38 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Bruno Luong

Posts: 9,042
Registered: 7/26/08
Re: Binary check for polygons intersection
Posted: Jan 23, 2013 7:32 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message
> Yes, you are still miss understood. Function isintersect checks area intersection.

The statement:

if isempty(c)
b = inpolygon(P2(1,1),P2(2,1),P1(1,:),P1(2,:)) || ...

treats the case where one polygonal is entirely included to the other.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.