Quote:Yes, the caller can pass the actual corner coordinates of the roof - in addition to the normal and the center point. I think that should take care of the roof orientation. This roof-plane would be my construction plane on which my code would be performing operations to layout tiles, etc. I believe the main problem, in general, is how to transform points from one coordinate space to another - and defining appropriate transformation definition for that - this is what I remember from my high school math - but don't know how to do that. Is there a way to attach graphics to the messages in this forum?You can use the HTML 'img' tag to post images (they just have to be hosted somewhere).
Do you know that all roof surfaces will have four corners and be rectangular? Also, do you know what order the corners will be in? (E.g. in order clockwise, in order counterclockwise, etc.)