<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'Courier New', courier, monaco, monospace, sans-serif;font-size:12pt"><div>Hello, I'm trying to calculate how much a polygon "points" in a given direction. </div><div>This is to calculate how much light would come from a given light source.</div><div>This means that for each segment of its outer ring I want to calculate the </div><div>scalar (dot) product of</div><div>outward normal vector (whose magnitude is the segment's length) and the given vector.</div><div><br></div><div>One idea is to rotate the polygon, and the given vector simultaneously so that the given vector is vertical and</div><div>then calculate the width of the bounding box.</div><div><br></div><div>Any comments?</div><div style="position:fixed"></div>


</div></body></html>