RE: MI-L MB: polygon drawing direction.

2002-01-22 Thread Jacques Paris
PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Huber Sent: January 22, 2002 11:18 To: [EMAIL PROTECTED] Subject: RE: MI-L MB: polygon drawing direction. At 11:24 PM 1/21/02 +0100, Eric wrote: >The most common way is done thru dot products or (quite identical) signed >area : That

RE: MI-L MB: polygon drawing direction. Algorithms comparison

2002-01-22 Thread Eric
3' 60N 4? 58' 60E Alt: 0 > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Bill Huber > Envoye : mardi 22 janvier 2002 17:18 > A : [EMAIL PROTECTED] > Objet : RE: MI-L MB: polygon drawing direction. > > > At 11:

RE: MI-L MB: polygon drawing direction.

2002-01-22 Thread Bill Huber
At 11:24 PM 1/21/02 +0100, Eric wrote: >The most common way is done thru dot products or (quite identical) signed >area : That's a great technique, but it's a lot of work to process large polygons because you have to do the arithmetic at every vertex. It strikes me that a task as conceptually

RE: MI-L MB: polygon drawing direction.

2002-01-22 Thread Marco Kok
- 3268215 Fax.+31 (0)70 - 3268736 -Original Message- From: Patrick Palmier [mailto:[EMAIL PROTECTED]] Sent: dinsdag 22 januari 2002 11:51 To: Jacques Paris Cc: MapInfo-L Subject: Re: MI-L MB: polygon drawing direction. You probably know this issue. Directly in Mapinfo, you could do a

Re: MI-L MB: polygon drawing direction.

2002-01-22 Thread Patrick Palmier
You probably know this issue. Directly in Mapinfo, you could do a simple thing set your layer editable on Select your polygon Convert to polyline temporarely in the layer control check the show the line direction an arrow will show you if the polygon is clockwise or anticlockwise Patrick Palmier

RE: MI-L MB: polygon drawing direction.

2002-01-21 Thread Warren Vick, Europa Technologies Ltd.
Hello Jacques, Here's my stock function. You pass in the object and the polygon number. Regards, Warren Vick Europa Technologies Ltd. http://www.europa-tech.com function IsClockwise(byval TestObj as object, byval Part as smallint) as logical dim NrPnts, i as integer dim a, x, y, Old_x, O

RE: MI-L MB: polygon drawing direction.

2002-01-21 Thread Eric
Hi Jacques, The most common way is done thru dot products or (quite identical) signed area : Here's an mb snippet that should do the job (not for 'beignes' though ;) ) ''' ' Function CheckCCW (NNodes as integer) as logical '