Quickly determining if a closed polyline is clockwise or counter-clockwise
Hmm. That's a good point. I suppose it doesn't really matter though. Instead of making a ray, make a splitting plane and pick either the min or the max extrema point. I *think* you could still find the winding that way, but maybe it would flip the winding if you picked the wrong normal? I'd have to think about it more.
Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.
| Messages In This Thread |
|
Quickly determining if a closed polyline is clockwise or counter-clockwise - TomorrowPlusX - Apr 9, 2011, 11:56 AM
RE: Quickly determining if a closed polyline is clockwise or counter-clockwise - stevejohnson - Apr 9, 2011, 12:32 PM
RE: Quickly determining if a closed polyline is clockwise or counter-clockwise - TomorrowPlusX - Apr 9, 2011, 12:44 PM
RE: Quickly determining if a closed polyline is clockwise or counter-clockwise - Skorche - Apr 9, 2011, 01:24 PM
RE: Quickly determining if a closed polyline is clockwise or counter-clockwise - ThemsAllTook - Apr 9, 2011, 01:40 PM
RE: Quickly determining if a closed polyline is clockwise or counter-clockwise - TomorrowPlusX - Apr 9, 2011, 01:53 PM
RE: Quickly determining if a closed polyline is clockwise or counter-clockwise - Skorche - Apr 9, 2011 04:03 PM
|
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| ? Techniques for determining speed / efficiency | Elphaba | 9 | 4,178 |
Jul 19, 2009 03:42 AM Last Post: DoG |
|
| Quickly refreshing NSViews | Steven | 24 | 10,494 |
Nov 13, 2002 07:30 AM Last Post: Steven |
|

