C and rotation of rectangle

Discussion in 'C' started by Ubha, Jan 9, 2007.

  1. Ubha

    Ubha New Member

    Joined:
    Dec 17, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    Dear all,

    I want to rotate rectangle in C. How do i start for this?

    thankx,
    ubha
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    Define an origin and a point of rotation. Move each constituent of the rectangle through the appropriate angle using trigonometry. Plot the result.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice