Consider a triangle PQR with coordinates P(0,0), Q(2,2) and R(10,4). If this triangle is to be magnified to four times its size while keeping R(10,4) fixed, then the coordinates of the magnified triangle are:
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. P(−30,−12), Q(−22,−4) and R(10,4)
Explanation
Scaling about a fixed point: P′ = R + 4(P − R). P′ = (10,4) + 4(−10,−4) = (−30,−12); Q′ = (10,4) + 4(−8,−2) = (−22,−4); R stays fixed.More Programming Languages and Computer Graphics questions
- Which of the following statements is TRUE?
- What is the output of the following program?#include<stdio.h> int main() { int i = 3; while (i--) { int i = 10; i--; printf("%d", i); } pri…
- The hue of a colour is related to its:
- What is the output of the following program?#include <stdio.h> #define SQR(x) (x*x) int main() { int a, b = 3; a = SQR(b+2); printf("%d", a…
- Consider the three points P1(1, 2, 0), P2(3, 6, 20) and P3(2, 4, 6) and a viewpoint C(0, 0, −10). Choose the correct options. (A) P1 obscur…
- Which of the statements are CORRECT? (A) Constructors are invoked automatically when objects are created. (B) Constructors do not have retu…