Program rotation line computer graphics




















Post Navigation. April 14, Author Recent Posts. Follow me. Mohit Arora. Hi, I am Mohit Arora , a passionate blogger and addicted reader. You can check my other blog - CatchUpdates. Latest posts by Mohit Arora see all. C programs. Tags: C program to implement rotation of a line. Leave a Reply Cancel reply Your email address will not be published. Powered By CatchUpdates. Home Contact Us Sitemap. This website uses cookies to improve your experience.

We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More. Close Privacy Overview This website uses cookies to improve your experience while you navigate through the website.

Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. It is print about which object is rotated. The positive value of the pivot point rotation angle rotates an object in a counter-clockwise anti-clockwise direction. The negative value of the pivot point rotation angle rotates an object in a clockwise direction.

Straight Line: Straight Line is rotated by the endpoints with the same angle and redrawing the line between new endpoints. Polygon: Polygon is rotated by shifting every vertex using the same rotational angle.

Curved Lines: Curved Lines are rotated by repositioning of all points and drawing of the curve at new positions. Ellipse: Its rotation can be obtained by rotating major and minor axis of an ellipse by the desired angle. Rotation about an arbitrary point: If we want to rotate an object or point about an arbitrary point, first of all, we translate the point about which we want to rotate to the origin.

Then rotate point or object about the origin, and at the end, we again translate it to the original place. We get rotation about an arbitrary point. Example1: Prove that 2D rotations about the origin are commutative i. JavaTpoint offers too many high quality services. Mail us on [email protected] , to get more information about given services.

Please mail your requirement at [email protected] Duration: 1 week to 2 week. Computer Graphics. Projection Perspective Projection Parallel Projection. Next Topic Reflection. Reinforcement Learning. R Programming. React Native. Python Design Patterns. Python Pillow. Python Turtle. Verbal Ability. Interview Questions. Company Questions.

Artificial Intelligence. Cloud Computing. Data Science.



0コメント

  • 1000 / 1000