Hello, I'm trying to calculate how much a polygon "points" in a given 
direction. 
This is to calculate how much light would come from a given light source.
This means that for each segment of its outer ring I want to calculate the 
scalar (dot) product of
outward normal vector (whose magnitude is the segment's length) and the given 
vector.

One idea is to rotate the polygon, and the given vector simultaneously so that 
the given vector is vertical and
then calculate the width of the bounding box.

Any comments?
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to