rotation of a square polygon 
Author Message
 rotation of a square polygon

hey, i'm looking for an algorithm that will rotate the following
polygon(a square)

        pnt(0).x        (lower left)
        pnt(0).y        ""            
        pnt(1).x        (upper left)
        pnt(1).y        ""
        pnt(2).x        (upper right)
        pnt(2).y        ""
        pnt(3).x        (lower right)
        pnt(3).y        ""

example:

line(pnt(0).x,pnt(0).y)-(pnt(1).x,pnt(1).y)
etc to all the points.

help!



Mon, 11 Oct 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Polygon rotation

2. polygon - polygon intersection

3. Matrix rotation

4. Text Block rotation in a line.

5. Tracking shape position and rotation WHILE moving

6. Table Rotation

7. Image Rotation

8. getting the region of a usercontrol ? (for rotation)

9. page rotation

10. 3D Rotation Points

11. 3d rotation's

12. 2D Rotation

 

 
Powered by phpBB® Forum Software