Question 1236 – Nielit STA [02-12-2018]
November 5, 2023Software-Engineering
November 5, 2023Question 1235 – Nielit STA [02-12-2018]
Using Mid Point algorithm, the new coordinates of the point P(x,y) having slope ‘m’ and constant and ‘b’ is calculated using:
Correct Answer: A
Question 15 Explanation:
In order to check this, we need to consider the implicit equation:
F(x,y) = mx + b – y
For positive m at any given X,
If y is on the line, then F(x, y) = 0
If y is above the line, then F(x, y) < 0
If y is below the line, then F(x, y) > 0
F(x,y) = mx + b – y
For positive m at any given X,
If y is on the line, then F(x, y) = 0
If y is above the line, then F(x, y) < 0
If y is below the line, then F(x, y) > 0
F(x,y)=mx+b-y
F(x,y)=mx-y+b
F(x,y)=mx+b
F(x,y)=mx-y+b-y
Subscribe
Login
0 Comments