- #1
DukeLuke
- 94
- 0
Let's say you have four points that define a rectangle in the xy plane centered at the origin (with the x,y axes bisecting the sides). How can you transform these points so that the rectangle lies in an arbitrary plane (defined by a point p and a normal vector n) so it is centered about point p. I realize some orientation of the four points in this plane is needed for a unique transformation, but I'm stuck even getting an arbitrary orientation of these four points in the plane.
I'm thinking the correct approach may be to rotate the four points about the origin until the plane they create is normal to n, and then move them to the correct position. At this point I'm not even sure how to rotate the points until the plane they create is normal to n.
I'm thinking the correct approach may be to rotate the four points about the origin until the plane they create is normal to n, and then move them to the correct position. At this point I'm not even sure how to rotate the points until the plane they create is normal to n.