Thanks I'll test it - whatever it does :)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
I am working with maps and geo-tagging media files - as part of this I need
to work out if a point is within an area - simplest case a polygon, but this
could be a simple volume - that is a polygon extruded to the ground.
The coordinates are latitude and longitude in degrees - with heights in
Don't know if this would work out for you, but you can have a simple
image that you check the color of pixels to tell where you are. I used
that method in this thing I did:
http://staff.funnygarbage.com/colin/track/track.mov
The stack is here:
Interesting idea - would be more flexible and powerful too. Still I'd rather
do simple text based geometry as eventually this should be a CGI? This is
the only one I've found so far - does my head in to look at it :)
- Within Polygon
into y1
put yOld into y2
end if
if (xNew xt) = (xt = xOld) and ((yt-y1)*(x2-x1)) ((y2-
y1)*(xt-x1)) then put not inside into inside
put xNew into xOld
put yNew into yOld
end repeat
return inside
end ptInPoly
From: David Bovill [EMAIL PROTECTED]
Subject: Polygon geometry
of the boundary
segments if P is not chosen so as to avoid that
On May 16, 2008, at 1:00 PM, [EMAIL PROTECTED]
wrote:
Message: 14
Date: Fri, 16 May 2008 11:35:39 +0100
From: David Bovill [EMAIL PROTECTED]
Subject: Polygon geometry - any suggestions?
To: How to use Revolution use-revolution