Re: POLY2CW ??? what happened to it?
- From: Steve Eddins <Steve.Eddins@xxxxxxxxxxxxx>
- Date: Tue, 13 Nov 2007 10:09:24 -0500
Paul wrote:
It is correct. If you plot the polygon with lines betweenthe vertices,like this:kind of hourglass
plot(xv,yv,'r')
you'll see that your polygon is self-intersecting in ashape. That explains your result.
--
Steve Eddins
http://blogs.mathworks.com/steve
This is EXACTLY why I was asking about POLY2CW routine. I
have to make the vertices of the polygon ordered clockwise.
I'm not sure that POLY2CW, which is in the Mapping Toolbox as Steve Lord said earlier, will help you. POLY2CW does not reorder the vertices of a self-intersecting polygon to make it non self-intersecting.
--
Steve Eddins
http://blogs.mathworks.com/steve
.
- References:
- POLY2CW ??? what happened to it?
- From: Paul
- Re: POLY2CW ??? what happened to it?
- From: Steven Lord
- Re: POLY2CW ??? what happened to it?
- From: Paul
- Re: POLY2CW ??? what happened to it?
- From: Steve Eddins
- Re: POLY2CW ??? what happened to it?
- From: Paul
- POLY2CW ??? what happened to it?
- Prev by Date: Resize matrix w/o image processing toolbox
- Next by Date: Problem while registering Matlab COM object
- Previous by thread: Re: POLY2CW ??? what happened to it?
- Next by thread: POLY2CW ??? what happened to it?
- Index(es):
Relevant Pages
|